* Managed API to handle User maintenance

* Managed Users view in application
This commit is contained in:
2025-02-20 06:39:06 +01:00
parent cd5990039d
commit 9b8d621f42
19 changed files with 530 additions and 195 deletions

View File

@@ -4,9 +4,9 @@ namespace OrdersManagementDataModel.Services;
public interface IRoleService
{
Task<IEnumerable<RoleDto>> GetRoles();
Task<RoleDto?> GetRoleById(Guid id);
Task<RoleDto?> GetRoleByName(string name);
Task<int> AddRole(RoleDto roleDto);
Task<int> DeleteRole(Guid id);
Task<IEnumerable<RoleDto>> GetAll();
Task<RoleDto?> GetById(Guid id);
Task<RoleDto?> GetByName(string name);
Task<int> Add(RoleDto roleDto);
Task<int> Delete(Guid id);
}