private ActionResult GetOneRoleByName(string id) { var model = ViewModelsService.RoleByNameModel(id); var content = new BackofficeContent { Title = model.Name, Subtitle = "role management" }; SetContentPage(content); return View(model); }
private ActionResult GetAllRoles() { var content = new BackofficeContent() { Title = "User Administration", Subtitle = "here you can manage roles" }; SetContentPage(content); return View(ViewModelsService.RoleModels()); }
private ActionResult GetNoUser() { var content = new BackofficeContent() { Title = "User Administration", Subtitle = "here you can manage users" }; SetContentPage(content); return View(new List<UserRowViewModel>()); }