public ActionResult Banner() { try { var result = _bannerBusiness.GetAll(); return(PartialView(result.Where(x => x.Status == true))); } catch (Exception) { return(PartialView()); } }
public ActionResult List() { try { var result = _bannerBusiness.GetAll(); return(View(result)); } catch (Exception) { return(View()); } }
public ActionResult Slider() { try { var result = _bannerBusiness.GetAll(); return(PartialView(result)); } catch (Exception) { return(PartialView()); } }