//public CheckPermission(Microsoft.AspNetCore.Identity.UserManager<Users> extendUserManager, PermissionExpansionManager permissionExpansionManager, string permissionitem = "")
        //{
        //    PermissionItem = permissionitem;
        //    _userManager = extendUserManager;
        //    _permissionExpansionManager = permissionExpansionManager;
        //}
        public CheckPermission(PermissionExpansionManager permissionExpansionManager, UserManager userManager, string permissionitem = "")
        {
            PermissionItem = permissionitem;

            _userManager = userManager;
            _permissionExpansionManager = permissionExpansionManager;
        }
Example #2
0
 public HumanInfoAdjustmentController(HumanInfoAdjustmentManager humanInfoAdjustmentManager,
                                      PermissionExpansionManager permissionExpansionManager
                                      )
 {
     _humanInfoAdjustmentManager = humanInfoAdjustmentManager;
     _permissionExpansionManager = permissionExpansionManager;
 }
 /// <summary>
 /// 成交
 /// </summary>
 public CustomerTransactionsFollowUpController(CustomerTransactionsFollowUpManager customerTransactionsFollowUpManager, IMapper mapper,
                                               PermissionExpansionManager permissionExpansionManager)
 {
     _permissionExpansionManager          = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _customerTransactionsFollowUpManager = customerTransactionsFollowUpManager;
     _mapper = mapper;
 }
 public ContractNoticeController(IContractInfoStore icontractstore, PermissionExpansionManager pr, RestClient rt, IMapper mapper)
 {
     _icontractInfoStore        = icontractstore;
     _mapper                    = mapper ?? throw new ArgumentNullException(nameof(mapper));
     permissionExpansionManager = pr;
     _restClient                = rt;
 }
 public ShopsController(ShopsManager shopsManager,
                        PermissionExpansionManager permissionExpansionManager,
                        IMapper mapper)
 {
     _shopsManager = shopsManager;
     _mapper       = mapper;
     _permissionExpansionManager = permissionExpansionManager;
 }
        public BorrowingController(RestClient rsc, BorrowingManager borrowing, PermissionExpansionManager per)
        {
            _permissionExpansionManager = per;
            _restClient       = rsc;
            _borrowingManager = borrowing;

            _restClient = rsc;
        }
 public HumanManager(IHumanManageStore stor, IMapper mapper,
                     IOrganizationExpansionStore organizationExpansionStore,
                     PermissionExpansionManager permissionExpansionManager)
 {
     _Store  = stor;
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _iorganizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _permissionExpansionManager  = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
 }
Example #8
0
 public PositionSalaryManager(IPositionSalaryStore positionSalaryStore,
                              PermissionExpansionManager permissionExpansionManager,
                              IMapper mapper, RestClient restClient)
 {
     Store = positionSalaryStore;
     _permissionExpansionManager = permissionExpansionManager;
     _restClient = restClient;
     _mapper     = mapper;
 }
Example #9
0
        public ChargeInfoController(RestClient rsc, ChargeManager charge, PermissionExpansionManager per)
        {
            _permissionExpansionManager = per;
            _restClient    = rsc;
            _chargeManager = charge;

            _lastNumber = 1;
            _restClient = rsc;
        }
Example #10
0
 public HumanPositionManager(IHumanPositionStore humanPositionStore,
                             PermissionExpansionManager permissionExpansionManager,
                             IMapper mapper, RestClient restClient)
 {
     Store = humanPositionStore;
     _permissionExpansionManager = permissionExpansionManager;
     _restClient = restClient;
     _mapper     = mapper;
 }
Example #11
0
 public CustomerLossManager(ICustomerLossStore customerLossStore,
                            ICustomerInfoStore icustomerInfoStore,
                            IMapper mapper,
                            PermissionExpansionManager permissionExpansionManager)
 {
     _permissionExpansionManager = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     Store = customerLossStore ?? throw new ArgumentNullException(nameof(customerLossStore));
     _icustomerInfoStore = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _mapper             = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
 public BuildingsController(BuildingsManager buildingsManager,
                            RestClient restClient,
                            PermissionExpansionManager permissionExpansionManager,
                            IMapper mapper)
 {
     _buildingsManager           = buildingsManager;
     _restClient                 = restClient;
     _mapper                     = mapper;
     _permissionExpansionManager = permissionExpansionManager;
 }
Example #13
0
 public ContractListManager(
     IContractInfoStore icontractstore,
     IOrganizationExpansionStore organizationExpansionStore,
     PermissionExpansionManager permissionExpansionManager,
     IMapper mapper)
 {
     _icontractInfoStore          = icontractstore;
     _mapper                      = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _iorganizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _permissionExpansionManager  = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
 }
Example #14
0
 public UserRolesController(ApplicationDbContext context,
                            UserManager <Users> userManager,
                            RoleManager <Roles> roleManager,
                            PermissionExpansionManager permissionExpansionManager
                            )
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
     _permissionExpansionManager = permissionExpansionManager;
 }
Example #15
0
 public PermissionItemsController(ApplicationDbContext context,
                                  PermissionItemManager permissionItemManager,
                                  RolePermissionManager rolePermissionManager,
                                  PermissionOrganizationManager permissionOrganizationManager,
                                  PermissionExpansionManager permissionExpansionManager)
 {
     _context = context;
     _permissionItemManager         = permissionItemManager;
     _rolePermissionManager         = rolePermissionManager;
     _permissionOrganizationManager = permissionOrganizationManager;
     _permissionExpansionManager    = permissionExpansionManager;
 }
 public UserinfoController(ApplicationDbContext context,
                           OrganizationsManager organizationsManager,
                           ExtendUserManager <Users> extendUserManager,
                           PermissionExpansionManager permissionExpansionManager,
                           IMapper mapper)
 {
     _context = context;
     _organizationsManager       = organizationsManager;
     _extendUserManager          = extendUserManager;
     _permissionExpansionManager = permissionExpansionManager;
     _mapper = mapper;
 }
 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));
 }
Example #18
0
 public HumanInfoPartPositionManager(IHumanInfoPartPositionStore humanInfoPartPostionStore,
                                     IHumanInfoStore humanInfoStore,
                                     IHumanInfoChangeStore humanInfoChangeStore,
                                     PermissionExpansionManager permissionExpansionManager,
                                     IMapper mapper, RestClient restClient)
 {
     Store = humanInfoPartPostionStore;
     _permissionExpansionManager = permissionExpansionManager;
     _humanInfoStore             = humanInfoStore;
     _restClient           = restClient;
     _humanInfoChangeStore = humanInfoChangeStore;
     _mapper = mapper;
 }
 public RoleinfoController(ApplicationDbContext context,
                           RoleManager <Roles> roleManager,
                           RolePermissionManager rolePermissionManager,
                           PermissionExpansionManager permissionExpansionManager,
                           ExtendUserManager <Users> extendUserManager
                           )
 {
     _context                    = context;
     _roleManager                = roleManager;
     _extendUserManager          = extendUserManager;
     _rolePermissionManager      = rolePermissionManager;
     _permissionExpansionManager = permissionExpansionManager;
 }
Example #20
0
 public BuildingRecommendManager(
     IBuildingRecommendStore ibuildingRecommendsStore,
     PermissionExpansionManager permissionExpansionManager,
     IBuildingsStore ibuildingStore,
     IOrganizationExpansionStore organizationExpansionStore,
     IMapper mapper)
 {
     _ibuildingRecommendsStore    = ibuildingRecommendsStore ?? throw new ArgumentNullException(nameof(ibuildingRecommendsStore));
     _permissionExpansionManager  = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _ibuildingStore              = ibuildingStore ?? throw new ArgumentNullException(nameof(ibuildingStore));
     _iorganizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Example #21
0
 public OrganizationsController(ApplicationDbContext context,
                                OrganizationsManager organizationsManager,
                                OrganizationExpansionManager organizationExpansionManager,
                                PermissionOrganizationManager permissionOrganizationManager,
                                PermissionExpansionManager permissionExpansionManager
                                )
 {
     _context = context;
     _organizationsManager          = organizationsManager;
     _organizationExpansionManager  = organizationExpansionManager;
     _permissionOrganizationManager = permissionOrganizationManager;
     _permissionExpansionManager    = permissionExpansionManager;
 }
 public ExamineFlowManager(IExamineFlowStore examineFlowStore,
                           PermissionExpansionManager permissionExpansionManager,
                           IOrganizationExpansionStore organizationExpansionStore,
                           IUserStore userStore,
                           RestClient restClient,
                           IMapper mapper)
 {
     Store   = examineFlowStore ?? throw new ArgumentNullException(nameof(examineFlowStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _organizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _userStore = userStore ?? throw new ArgumentNullException(nameof(userStore));
     _permissionExpansionManager = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _restClient = restClient ?? throw new ArgumentNullException(nameof(restClient));
 }
 public ContractInfoManager(
     IContractInfoStore contractStore,
     IMapper mapper,
     IOrganizationExpansionStore organizationExpansionStore,
     PermissionExpansionManager permissionExpansionManager,
     UserManager userManager
     )
 {
     Store   = contractStore ?? throw new ArgumentNullException(nameof(contractStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _iorganizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _permissionExpansionManager  = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _curUserManager = userManager;
 }
Example #24
0
 public FileInfoController(FileInfoManager fileInfoManager,
                           CustomerInfoManager customerInfoManager,
                           FileScopeManager fileScopeManager,
                           CustomerDealManager customerDealManager,
                           RestClient restClient,
                           IMapper mapper,
                           PermissionExpansionManager permissionExpansionManager)
 {
     _permissionExpansionManager = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _fileInfoManager            = fileInfoManager;
     _icustomerInfoManager       = customerInfoManager;
     _fileScopeManager           = fileScopeManager;
     _customerDealManager        = customerDealManager;
     _restClient = restClient;
     _mapper     = mapper;
 }
Example #25
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));
 }
Example #26
0
 public ApplicationController(ApplicationManager applicationManager,
                              ApplicationDbContext context,
                              RoleManager <Roles> roleManager,
                              PermissionItemManager permissionItemManager,
                              PermissionOrganizationManager permissionOrganizationManager,
                              RolePermissionManager rolePermissionManager,
                              PermissionExpansionManager permissionExpansionManager,
                              RoleApplicationManager roleApplicationManager,
                              UserManager <Users> userManager)
 {
     _applicationManager            = applicationManager;
     _userManager                   = userManager;
     _roleManager                   = roleManager;
     _Context                       = context;
     _permissionItemManager         = permissionItemManager;
     _permissionOrganizationManager = permissionOrganizationManager;
     _rolePermissionManager         = rolePermissionManager;
     _permissionExpansionManager    = permissionExpansionManager;
     _roleApplicationManager        = roleApplicationManager;
 }
Example #27
0
 public CustomerDealManager(
     ICustomerInfoStore customerInfoStore,
     ICustomerDealStore customerDealStore,
     IDealFileScopeStore dealFileScopeStore,
     IFileInfoStore fileInfoStore,
     ICustomerTransactionsStore customerTransactionsStore,
     IOrganizationExpansionStore organizationExpansionStore,
     PermissionExpansionManager permissionExpansionManager,
     IMapper mapper
     )
 {
     _icustomerInfoStore          = customerInfoStore ?? throw new ArgumentNullException(nameof(customerInfoStore));
     _icustomerDealStore          = customerDealStore ?? throw new ArgumentNullException(nameof(customerDealStore));
     _icustomerTransactionsStore  = customerTransactionsStore ?? throw new ArgumentNullException(nameof(customerTransactionsStore));
     _dealFileScopeStore          = dealFileScopeStore ?? throw new ArgumentNullException(nameof(dealFileScopeStore));
     _iorganizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _permissionExpansionManager  = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _fileInfoStore = fileInfoStore;
     _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;
 }
Example #29
0
 public BuildingsManager(
     IBuildingsStore buildingsStore,
     IBuildingFacilitiesStore buildingFacilitiesStore,
     IBuildingFavoritesStore buildingFavoritesStore,
     IBuildingBaseInfoStore buildingBaseInfoStore,
     IBuildingShopInfoStore buildingShopInfoStore,
     IBuildingFileScopeStore buildingFileScopeStore,
     IFileInfoStore fileInfoStore,
     IUserStore userStore,
     PermissionExpansionManager permissionExpansionManager,
     IMapper mapper
     )
 {
     _buildingsStore          = buildingsStore ?? throw new ArgumentNullException(nameof(buildingsStore));
     _buildingFacilitiesStore = buildingFacilitiesStore ?? throw new ArgumentNullException(nameof(buildingFacilitiesStore));
     _ibuildingFavoritesStore = buildingFavoritesStore ?? throw new ArgumentNullException(nameof(buildingFavoritesStore));
     _buildingBaseInfoStore   = buildingBaseInfoStore ?? throw new ArgumentNullException(nameof(buildingBaseInfoStore));
     _buildingShopInfoStore   = buildingShopInfoStore ?? throw new ArgumentNullException(nameof(buildingShopInfoStore));
     _fileInfoStore           = fileInfoStore;
     _buildingFileScopeStore  = buildingFileScopeStore;
     _iuserStore = userStore ?? throw new ArgumentNullException(nameof(userStore));
     _ipermissionExpansionManager = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Example #30
0
 public ContractListController(ContractListManager listmanager, PermissionExpansionManager permissionExpansionManager, RestClient rsc)
 {
     _contractListManager        = listmanager;
     _permissionExpansionManager = permissionExpansionManager;
     _restClient = rsc;
 }