public IActionResult Remove(int id)
        {
            var slide = _homeRepository.GEtHomeSliderById(id);

            if (slide != null)
            {
                _fileManager.Delete(slide.Image);
            }

            _homeRepository.DeleteSlide(slide);
            var homeslider = _homeRepository.GetFullHomeSlider();
            var model      = _mapper.Map <IEnumerable <HomeSlider>, IEnumerable <SlideViewModel> >(homeslider);

            return(PartialView("index", model));
        }