Ejemplo n.º 1
0
        public async Task <IActionResult> BrowseStatuses([FromQuery] GetStatusesQueryDto getStatusesQuery)
        {
            var query  = mapper.Map <GetStatusesQuery>(getStatusesQuery);
            var result = await statusesService.BrowseStatusesAsync(query);

            return(Ok(result));
        }
Ejemplo n.º 2
0
        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));
        }