Пример #1
0
        /// <summary>
        /// Manage page logs
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult Logs(int id)
        {
            var model = _pageServices.GetLogs(id);

            if (model == null)
            {
                SetErrorMessage(LocalizedResourceServices.T("AdminModule:::Pages:::Messages:::ObjectNotFounded:::Page is not founded."));
                return(RedirectToAction("Index"));
            }
            return(View(model));
        }