using HelpDesk.Models.Entities; using HelpDesk.Models.Enums; namespace HelpDesk.Data.Repositories; public interface IUserRepository { Task GetByIdAsync(Guid id); Task GetByEmailAsync(string email); Task> GetAllAsync(); Task> GetByRoleAsync(UserRole role); Task CreateAsync(User user); Task UpdateAsync(User user); Task ExistsAsync(string email); }