mirror of
https://github.com/ryzij/AMessanger-Server.git
synced 2026-09-18 19:25:38 +00:00
11 lines
371 B
C#
11 lines
371 B
C#
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);
|
|
} |