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)); }