public Task <UserDto?> GetAsync(UserId id) { return(QueryAsync( Authorize.Unauthenticated, () => _userQueries.GetAsync(id) )); }
public async Task <IActionResult> GetAsync([FromUri] int id) { var result = await _userQueries.GetAsync(id); return(Json(new { HttpStatusCode.OK })); }
public async Task <IEnumerable <UsersEntity> > GetAsync(UserFilters filter) { return(await _userQueries.GetAsync(filter)); }