user service with editing, removing and reading accounts methods, controller actions for this service
This commit is contained in:
		| @@ -13,5 +13,10 @@ namespace Infrastructure.Database.Users.Repositories | ||||
|         { | ||||
|             return await LoadDomain().SingleOrDefaultAsync(u => u.Email == email, cancellationToken); | ||||
|         } | ||||
|  | ||||
|         async Task<List<User>> IUsersRepository.GetAllOfRoleAsync(Role role, CancellationToken cancellationToken) | ||||
|         { | ||||
|             return await LoadDomain().Where(u => u.Role == role).ToListAsync(cancellationToken); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user