Пример #1
0
 public MenuController(IUnitOfWorkAsync unitOfWork, IRolePermissionsService rolesPermissionService, IPagePermissionsService pagePermissionsService, IMenuItemsService menuItemsService)
 {
     _rolesPermissionService = rolesPermissionService;
     _pagePermissionsService = pagePermissionsService;
     _menuItemsService       = menuItemsService;
     _unitOfWork             = unitOfWork;
 }
Пример #2
0
 public RoleController(IRoleService roleService,
     IModuleManager moduleManager,
     IPermissionManager permissionManager,
     IMenuService menuService,
     IRoleBelongsSystemService belongsSystemService,
     IAuthorizer authorizer, ITranslation translation,
     IRolePermissionsService rolePermissionsService)
 {
     _roleService = roleService;
     _moduleManager = moduleManager;
     _permissionManager = permissionManager;
     _menuService = menuService;
     _belongsSystemService = belongsSystemService;
     _authorizer = authorizer;
     _translation = translation;
     _rolePermissionsService = rolePermissionsService;
 }
Пример #3
0
 public ProjectLineService(MainDbContext context, IMapper mapper, IRolePermissionsService rolePermissionsService)
 {
     _context = context;
     _mapper  = mapper;
     _rolePermissionsService = rolePermissionsService;
 }
Пример #4
0
 public PermissionsController(IRolePermissionsService rolePermissionsService)
 {
     _rolePermissionsService = rolePermissionsService;
 }