示例#1
0
 public MenuPermissionService(
     IMenuPermissionRepository menuPermissionRepository,
     IUnitOfWork unitOfWork)
 {
     this.menuPermissionRepository = menuPermissionRepository;
     this.unitOfWork = unitOfWork;
 }
示例#2
0
 public PermissionService(IPermissionRepository permissionRepository, IMenuPermissionRepository menuPermissionRepository, IButtonPermissionRepository buttonPermissionRepository, IUnitOfWork <AdminDbContext> uow)
 {
     _permissionRepository       = permissionRepository;
     _menuPermissionRepository   = menuPermissionRepository;
     _buttonPermissionRepository = buttonPermissionRepository;
     _uow = uow;
 }
示例#3
0
 public PermissionService(LoginInfo loginInfo, IMapper mapper, IPermissionRepository permissionRepository, IMenuPermissionRepository menuPermissionRepository, IButtonPermissionRepository buttonPermissionRepository)
 {
     _loginInfo                  = loginInfo;
     _mapper                     = mapper;
     _permissionRepository       = permissionRepository;
     _menuPermissionRepository   = menuPermissionRepository;
     _buttonPermissionRepository = buttonPermissionRepository;
 }
示例#4
0
 public MenuService(IMenuRepository menuRepository, IMenuPermissionRepository menuPermissionRepository, IMapper mapper, IRoleMenuRepository roleMenuRepository, IPermissionRepository permissionRepository, IButtonRepository buttonRepository, IRoleMenuButtonRepository roleMenuButtonRepository, IAccountRoleRepository accountRoleRepository, IAccountService accountService, IButtonPermissionRepository buttonPermissionRepository)
 {
     _menuRepository           = menuRepository;
     _menuPermissionRepository = menuPermissionRepository;
     _mapper                     = mapper;
     _roleMenuRepository         = roleMenuRepository;
     _buttonRepository           = buttonRepository;
     _roleMenuButtonRepository   = roleMenuButtonRepository;
     _accountRoleRepository      = accountRoleRepository;
     _accountService             = accountService;
     _buttonPermissionRepository = buttonPermissionRepository;
 }
示例#5
0
 public MenuService(IMenuRepository menuRepository, IMenuPermissionRepository menuPermissionRepository, IUnitOfWork <AdminDbContext> uow, IMapper mapper, IRoleMenuRepository roleMenuRepository, IPermissionRepository permissionRepository, IButtonRepository buttonRepository, IRoleMenuButtonRepository roleMenuButtonRepository, IAccountRoleRepository accountRoleRepository, IAccountService accountService)
 {
     _menuRepository           = menuRepository;
     _menuPermissionRepository = menuPermissionRepository;
     _uow                      = uow;
     _mapper                   = mapper;
     _roleMenuRepository       = roleMenuRepository;
     _permissionRepository     = permissionRepository;
     _buttonRepository         = buttonRepository;
     _roleMenuButtonRepository = roleMenuButtonRepository;
     _accountRoleRepository    = accountRoleRepository;
     _accountService           = accountService;
 }
示例#6
0
        public PermissionGroupService(

            IMapper mapper,
            IUnitOfWork uow,
            IPermissionGroupRepository permissionGroupRepository,
            IPermissionMembershipRepository permissionMembershipRepository,
            IMenuPermissionRepository menuPermissionRepository

            ) : base(mapper, uow)
        {
            _permissionGroupRepository      = permissionGroupRepository;
            _permissionMembershipRepository = permissionMembershipRepository;
            _menuPermissionRepository       = menuPermissionRepository;
        }
示例#7
0
 public MenuService(IMenuRepository menuRepository, IMenuPermissionRepository menuPermissionRepository, IMapper mapper, IRoleMenuRepository roleMenuRepository, IPermissionRepository permissionRepository, IButtonRepository buttonRepository, IRoleMenuButtonRepository roleMenuButtonRepository, IAccountRoleRepository accountRoleRepository, IAccountService accountService, IButtonPermissionRepository buttonPermissionRepository, ILogger <MenuService> logger, AdminDbContext dbContext)
 {
     _menuRepository           = menuRepository;
     _menuPermissionRepository = menuPermissionRepository;
     _mapper                     = mapper;
     _roleMenuRepository         = roleMenuRepository;
     _buttonRepository           = buttonRepository;
     _roleMenuButtonRepository   = roleMenuButtonRepository;
     _accountRoleRepository      = accountRoleRepository;
     _accountService             = accountService;
     _buttonPermissionRepository = buttonPermissionRepository;
     _logger                     = logger;
     _dbContext                  = dbContext;
 }
示例#8
0
 public MenuService(IMenuRepository menuRepository, IMenuPermissionRepository menuPermissionRepository, IMapper mapper, IRoleMenuRepository roleMenuRepository, IButtonRepository buttonRepository, IRoleMenuButtonRepository roleMenuButtonRepository, IAccountRoleRepository accountRoleRepository, IAccountService accountService, IButtonPermissionRepository buttonPermissionRepository, ILogger <MenuService> logger, AdminDbContext dbContext, ISystemService systemService, SystemConfigModel systemConfig)
 {
     _menuRepository           = menuRepository;
     _menuPermissionRepository = menuPermissionRepository;
     _mapper                     = mapper;
     _roleMenuRepository         = roleMenuRepository;
     _buttonRepository           = buttonRepository;
     _roleMenuButtonRepository   = roleMenuButtonRepository;
     _accountRoleRepository      = accountRoleRepository;
     _accountService             = accountService;
     _buttonPermissionRepository = buttonPermissionRepository;
     _logger                     = logger;
     _dbContext                  = dbContext;
     _systemService              = systemService;
     _systemConfig               = systemConfig;
 }
示例#9
0
 public PermissionService(IPermissionRepository permissionRepository, IMenuPermissionRepository menuPermissionRepository, IButtonPermissionRepository buttonPermissionRepository)
 {
     _permissionRepository       = permissionRepository;
     _menuPermissionRepository   = menuPermissionRepository;
     _buttonPermissionRepository = buttonPermissionRepository;
 }