public ActionResult Delete(int id)
        {
            Slider Slider = _SliderService.GetByID(id);

            _SliderService.Remove(Slider);
            return(Redirect("/SysAdmin/Slider/List"));
        }
Beispiel #2
0
        public ActionResult SliderUpdate(Guid id)
        {
            Slider    slider = _sliderService.GetByID(id);
            SliderDTO model  = new SliderDTO();

            model.ID    = slider.ID;
            model.Queue = slider.Queue;
            return(View(model));
        }
Beispiel #3
0
        public ActionResult Update(Guid id)
        {
            Slider s = ss.GetByID(id);

            return(View(ss.GetByID(id)));
        }