Ejemplo n.º 1
0
        public async Task <IActionResult> Search([FromBody] BannerSearchRequest request)
        {
            try
            {
                var response = await _bannerAppService.SearchBanner(request);

                return(Json(response));
            }
            catch (Exception e)
            {
                _logger.LogError(e, Common.Common.GetMethodName(), request);
                throw;
            }
        }