mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
16 lines
480 B
C#
16 lines
480 B
C#
using DataAccessLayer.Entities;
|
|
|
|
namespace DataAccessLayer.Repositories
|
|
{
|
|
public interface IUserAccountRepository
|
|
{
|
|
Task Add(UserAccount userAccount);
|
|
Task<UserAccount?> GetById(Guid id);
|
|
Task<IEnumerable<UserAccount>> GetAll(int? limit, int? offset);
|
|
Task Update(UserAccount userAccount);
|
|
Task Delete(Guid id);
|
|
Task<UserAccount?> GetByUsername(string username);
|
|
Task<UserAccount?> GetByEmail(string email);
|
|
}
|
|
}
|