Esempio n. 1
0
        public ActionResult NewsEdit(News edited)
        {
            try
            {
                newsRepository.Change(edited);

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View());
            }
        }