public ActionResult NewsEdit(News edited) { try { newsRepository.Change(edited); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult NewsEdit(News edited) { try { newsRepository.Change(edited); return(RedirectToAction("Index")); } catch { return(View()); } }