Example #1
0
        public JsonResult ChangeNews(Guid guid, NewsVM news)
        {
            try
            {
                _newsManager.ChangeNews(guid, news);

                return(new JsonResult(new { success = true }));
            }
            catch (Exception ex)
            {
                return(new JsonResult(new { success = false, msg = ex.Message }));
            }
        }