Exemplo n.º 1
0
 public async Task <ServiceResult <UserDto> > GetByIdAsync([FromQuery] long?id)
 {
     return(ServiceResult <UserDto> .Successed(await _userService.GetAsync(id)));
 }