示例#1
0
        public ActionResult DocumentTemplates()
        {
            var templates     = _templatesRepositoryHandler.GetAll();
            var viewTemplates = templates.Select(DocumentTemplateController.ConvertToModel);

            ViewBag.FullName = GetUserName();
            return(View(viewTemplates));
        }
 public ActionResult Positions()
 {
     return(View(_positionsHandler.GetAll().Select(ConvertToModel)));
 }
 public ActionResult DocumentTypes()
 {
     return(View(_typesHandler.GetAll().Select(ConvertToModel)));
 }
示例#4
0
 public ActionResult Users()
 {
     return(View(_usersHandler.GetAll().Select(ConvertToModel)));
 }
示例#5
0
        public ActionResult Roles()
        {
            var a = HttpContext.Request.Cookies["Role"].Value;

            return(View(_rolesHandler.GetAll().Select(ConvertToModel)));
        }