Fase 2: Gestión de Usuarios (CRUD Completo) - Backend & Frontend
This commit is contained in:
@@ -4,5 +4,9 @@ using SIGCM.Domain.Entities;
|
||||
public interface IUserRepository
|
||||
{
|
||||
Task<User?> GetByUsernameAsync(string username);
|
||||
Task<IEnumerable<User>> GetAllAsync();
|
||||
Task<User?> GetByIdAsync(int id);
|
||||
Task<int> CreateAsync(User user);
|
||||
Task UpdateAsync(User user);
|
||||
Task DeleteAsync(int id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user