public PermissionSvc(IUnitOfWork unitofwork, IPermissionModuleRepostory permissionModuleRepostory, IPermissionRoleRepository permissionRoleRepository, IPermissionReRoleModuleRepostory permissionReRoleModuleRepostory, IUserRepository userRepository, IUserReRoleRepository userReRoleRepository)
 {
     this.unitOfWork = unitofwork;
     this.permissionModuleRepostory = permissionModuleRepostory;
     this.permissionRoleRepository = permissionRoleRepository;
     this.permissionReRoleModuleRepostory = permissionReRoleModuleRepostory;
     this.userRepository = userRepository;
     this.userReRoleRepository = userReRoleRepository;
 }
示例#2
0
 public PermissionSvc(IUnitOfWork unitofwork, IPermissionModuleRepostory permissionModuleRepostory, IPermissionRoleRepository permissionRoleRepository, IPermissionReRoleModuleRepostory permissionReRoleModuleRepostory, IUserRepository userRepository, IUserReRoleRepository userReRoleRepository)
 {
     this.unitOfWork = unitofwork;
     this.permissionModuleRepostory       = permissionModuleRepostory;
     this.permissionRoleRepository        = permissionRoleRepository;
     this.permissionReRoleModuleRepostory = permissionReRoleModuleRepostory;
     this.userRepository       = userRepository;
     this.userReRoleRepository = userReRoleRepository;
 }
 public PermissionManager()
 {
     _permissionRoleRepository     = Ioc.DefaultContainer.GetService <IPermissionRoleRepository>();
     _appIdRepository              = Ioc.DefaultContainer.GetService <IBasePermissionAppIdRepository>();
     _baseUserRepository           = Ioc.DefaultContainer.GetService <IBaseUserRepository>();
     _baseUserRoleMapRepository    = Ioc.DefaultContainer.GetService <IBaseUserRoleMapRepository>();
     _basePermissionUserRepository = Ioc.DefaultContainer.GetService <IBasePermissionUserRepository>();
     _basePermissionRoleRepository = Ioc.DefaultContainer.GetService <IBasePermissionRoleRepository>();
     InitAllPermissionModules();
     InitAllPermissionValues();
 }
 public PermissionRoleService(ILogs ILogs, IPermissionRoleRepository IPermissionRoleRepository)
 {
     _ILogs = ILogs;
     _IPermissionRoleRepository = IPermissionRoleRepository;
 }