Lar-dos-Velhinhos_OldCare/OldCare.Contexts.AccountContext/UseCases/Authenticate/Contracts/IRepository.cs
using OldCare.Contexts.AccountContext.Entities;
using OldCare.Contexts.PersonContext.Entities;
using OldCare.Contexts.SharedContext.Repositories.Contracts;

namespace OldCare.Contexts.AccountContext.UseCases.Authenticate.Contracts;

public interface IRepository : IBaseRepository<Person>
{
    Task<User?> GetByUserNameAsync(string userName);
    Task UpdateAsync(User user);
    Task<string[]?> GetRolesAsync(Guid userId);
}