예제 #1
0
        public async Task <IActionResult> GetProductDetails()
        {
            try
            {
                var query = await _productDetailService.GetDetails();

                return(Ok(query));
            }
            catch (Exception e)
            {
                _loggerManager.LogError($"Ocurrio un error al obtener los product detail: {e}");
                throw new ApiException(AppResources.BadRequest, HttpStatusCode.BadRequest);
            }
        }