public async Task <UsersEntity> GetByIdAsync(Guid id) { return(await _userQueries.GetByIdAsync(id)); }
public async Task <IActionResult> GetByIdAsync([FromRoute] UserRequest request) => CustomResponse(await _userQueries.GetByIdAsync(request));