示例#1
0
        public ActionResult Index()
        {
            UseresIndexModel model = new UseresIndexModel();

            try
            {
                model.RoleId = UsersLogic.GetAdminRole();
            }
            catch (Exception e)
            {
                LogsLogic.InsertLog(new Log()
                {
                    Message    = e.Message,
                    StackTrace = e.StackTrace,
                    StoryName  = "ManagmentProject/Users/Index",
                });
            }
            return(View(model));
        }