Exemple #1
0
        public IActionResult AddSliderForAjax(int PostId)
        {
            _postServices.AddSlider(PostId);

            var model = _postServices.GetSliderList();


            return(PartialView("SliderPartial", model));
        }
Exemple #2
0
 public IEnumerable <SliderDto> GetSliders()
 {
     return(_postServices.GetSliderList());
 }