public ActionResult List() { try { var result = _newsBusiness.GetAll(); return(View(result)); } catch (Exception) { return(View()); } }
public ActionResult News() { try { var result = _newsBusiness.GetAll(); return(PartialView(result)); } catch (Exception) { return(PartialView()); } }