public ActionResult Edit(Slider model)
 {
     if (ModelState.IsValid)
     {
         int result = 0;
         result = sliderHelper.UpdateSlider(model);
         if (result > 0)
         {
             return(RedirectToAction("index", "slider", new { area = "admin" }));
         }
     }
     return(View());
 }