using UserManagement.Application.Dtos.Incomming; using UserManagement.Application.Dtos.Outgoing; using UserManagement.Domain.Entities; namespace UserManagement.Application.Interfaces { public interface IUserService { // CREATE Task AddUserAsync(CreatingUserDto creatingUserDto); // READ ALL Task> GetUsersAsync(); // READ BY ID Task GetByIdAsync(int id); // READ BY USERNAME Task GetByUsernameAsync(string username); // UPDATE Task UpdateUserAsync(UpdatingUserDto updatingUserDto); //// UPDATE USER ROLE //Task UpdateUserRoleAsync(int userId, int roleId); // DELETE Task DeleteUserAsync(int id); } }