public async Task <Response <SliderImage> > UpdateSliderImage([FromBody] SliderImage sliderImage) { var httpResponse = new Response <SliderImage>(); try { httpResponse.RequestState = true; httpResponse.ErrorState = !await _appSettingsManager.UpdateSliderImage(sliderImage); } catch (Exception ex) { httpResponse.ErrorState = true; httpResponse.ErrorList.Add(ex.Adapt <ApiException>()); } return(httpResponse); }