public LimitManager(ILimitInfoStore store,
                     ITransaction <ChargeDbContext> transaction,
                     PermissionExpansionManager permissionExpansion,
                     OrganizationExpansionManager organizationExpansion,
                     IMapper mapper)
 {
     _Store                 = store;
     _transaction           = transaction;
     _permissionExpansion   = permissionExpansion;
     _organizationExpansion = organizationExpansion;
     _mapper                = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Esempio n. 2
0
 public OrganizationsController(ApplicationDbContext context,
                                OrganizationsManager organizationsManager,
                                OrganizationExpansionManager organizationExpansionManager,
                                PermissionOrganizationManager permissionOrganizationManager,
                                PermissionExpansionManager permissionExpansionManager
                                )
 {
     _context = context;
     _organizationsManager          = organizationsManager;
     _organizationExpansionManager  = organizationExpansionManager;
     _permissionOrganizationManager = permissionOrganizationManager;
     _permissionExpansionManager    = permissionExpansionManager;
 }
Esempio n. 3
0
 public BorrowingManager(IBorrowingStore stor,
                         IChargeInfoStore chargeStore,
                         IOrganizationUtils orgUtils,
                         ITransaction <ChargeDbContext> transaction,
                         PermissionExpansionManager permissionExpansion,
                         OrganizationExpansionManager organizationExpansion,
                         IMapper mapper)
 {
     _Store                 = stor;
     _chargeStor            = chargeStore;
     _transaction           = transaction;
     _permissionExpansion   = permissionExpansion;
     _organizationExpansion = organizationExpansion;
     _orgUtils              = orgUtils;
     _mapper                = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
 public RolePermissionsController(ApplicationDbContext context,
                                  RoleManager <Roles> roleManager,
                                  ExtendUserManager <Users> extendUserManager,
                                  RolePermissionManager rolePermissionManager,
                                  PermissionItemManager permissionItemManager,
                                  OrganizationsManager organizationsManager,
                                  OrganizationExpansionManager organizationExpansionManager,
                                  PermissionExpansionManager permissionExpansionManager,
                                  PermissionOrganizationManager permissionOrganizationManager,
                                  OpenIddictApplicationManager <OpenIddictApplication> applicationManager)
 {
     _context                       = context;
     _roleManager                   = roleManager;
     _extendUserManager             = extendUserManager;
     _rolePermissionManager         = rolePermissionManager;
     _permissionItemManager         = permissionItemManager;
     _organizationsManager          = organizationsManager;
     _organizationExpansionManager  = organizationExpansionManager;
     _permissionOrganizationManager = permissionOrganizationManager;
     _applicationManager            = applicationManager;
     _permissionExpansionManager    = permissionExpansionManager;
 }