public async Task <IActionResult> BrowseStatuses([FromQuery] GetStatusesQueryDto getStatusesQuery) { var query = mapper.Map <GetStatusesQuery>(getStatusesQuery); var result = await statusesService.BrowseStatusesAsync(query); return(Ok(result)); }
public async Task <IActionResult> BrowseStatuses([FromQuery] GetStatusesQueryDto getStatusesQuery) { var x = User.Identity.Name; var user = CurrentRequestUser; var query = mapper.Map <GetStatusesQuery>(getStatusesQuery); var result = await statusesService.BrowseStatusesAsync(query); return(Ok(result)); }