public ActionResult Delete(int id) { Slider Slider = _SliderService.GetByID(id); _SliderService.Remove(Slider); return(Redirect("/SysAdmin/Slider/List")); }
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)); }
public ActionResult Update(Guid id) { Slider s = ss.GetByID(id); return(View(ss.GetByID(id))); }