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))); }
public ActionResult Users() { return(View(_usersHandler.GetAll().Select(ConvertToModel))); }
public ActionResult Roles() { var a = HttpContext.Request.Cookies["Role"].Value; return(View(_rolesHandler.GetAll().Select(ConvertToModel))); }