2020-12-06 18:31:05 +01:00
|
|
|
|
using Serwer.Infrastructure.DTO;
|
2020-12-18 16:04:07 +01:00
|
|
|
|
using Serwer.Infrastructure.ViewModels;
|
2020-12-06 18:31:05 +01:00
|
|
|
|
using System;
|
2020-12-06 16:01:38 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Serwer.Infrastructure.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IUserService
|
|
|
|
|
{
|
2020-12-06 18:31:05 +01:00
|
|
|
|
Task RegisterAsync(string email, string name, string surname, string login, string password);
|
|
|
|
|
Task<SignedUserDto> SignInAsync(string login, string password);
|
2020-12-18 16:04:07 +01:00
|
|
|
|
Task<UserDto> UpdateAsync(UpdateUserModel userModel);
|
2020-12-06 16:01:38 +01:00
|
|
|
|
}
|
|
|
|
|
}
|