Exemple #1
0
        public async Task <IActionResult> GetByFilters([FromQuery] GetByFiltersRequestDto requestDto)
        {
            try
            {
                var response = await _publicationService.GetByFiltersAsync(requestDto);

                return(Ok(response));
            }
            catch (Exception e)
            {
                return(HttpExceptionMapper.ToHttpActionResult(e));
            }
        }