mirror of
https://github.com/ryzij/AMessanger-Server.git
synced 2026-09-18 19:25:38 +00:00
Добавил новые интерфейсы
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using AMessanger.Core.DTO;
|
||||
using AMessanger.Core.Models;
|
||||
|
||||
namespace AMessanger.Core.Abstraction;
|
||||
|
||||
public interface IAccountService
|
||||
{
|
||||
public Task<Result<Guid>> RegisterAsync(CreateUserDto dto, CancellationToken cancellationToken = default);
|
||||
|
||||
public Task<Result<string>> LoginAsync(string userName, string password, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user