Ejemplo n.º 1
0
        public ActionResult Logs(int id)
        {
            var model = _scriptService.GetLogs(id);

            if (model == null)
            {
                SetErrorMessage(T("Script_Message_ObjectNotFound"));
                return(RedirectToAction("Index"));
            }
            return(View(model));
        }