示例#1
0
 public VATRptController(IFYDDAppService _FYDDService, IBranchAppService _BranchService, IProjInfoAppService _ProjInfoService, IEmployeeAppService _employeeInfoService)
 {
     this._FYDDService         = _FYDDService;
     this._BranchService       = _BranchService;
     this._ProjInfoService     = _ProjInfoService;
     this._employeeInfoService = _employeeInfoService;
 }
示例#2
0
        public QualificationApiControllertest()
        {
            var serviceProvider = services.BuildServiceProvider();

            tenderService                = serviceProvider.GetService <ITenderAppService>();
            qualificationAppService      = serviceProvider.GetService <IQualificationAppService>();
            iDMAppService                = serviceProvider.GetService <IIDMAppService>();
            lookupAppService             = serviceProvider.GetService <ILookUpService>();
            supplierqualificationService = serviceProvider.GetService <ISupplierQualificationDocumentAppService>();
            verificationService          = serviceProvider.GetService <IVerificationService>();

            //Configure mapping just for this test
            var config = new MapperConfiguration(cfg =>
            {
                cfg.CreateMap <PreQualificationBasicDetailsModel, PreQualificationBasicDetailsModel>();
                cfg.CreateMap <MOF.Etimad.Monafasat.Core.Entities.Tender, PreQualificationSavingModel>();
                cfg.ValidateInlineMaps = false;
            });

            mapper = config.CreateMapper();

            _mockRootConfiguration = MockHelper.CreateIOptionSnapshotMock(new MOF.Etimad.Monafasat.SharedKernal.RootConfigurations());
            //verificationService = new Mock<IVerificationService>().Object;
            authorizationService = new Mock <IAuthorizationService>().Object;
            supplierService      = new Mock <ISupplierService>().Object;
            offerAppService      = new Mock <IOfferAppService>().Object;
            supplierQualificationDocumentDomainService = new Mock <ISupplierQualificationDocumentDomainService>().Object;
            memoryCache      = new Mock <IMemoryCache>().Object;
            branchAppService = new Mock <IBranchAppService>().Object;

            _qualificationController = new QualificationController(supplierqualificationService, qualificationAppService, mapper, verificationService,
                                                                   iDMAppService, authorizationService, supplierService, offerAppService, lookupAppService, tenderService, supplierQualificationDocumentDomainService, _mockRootConfiguration);

            _lookupController = new LookupController(lookupAppService, mapper, iDMAppService, branchAppService, memoryCache, _mockRootConfiguration);
        }
示例#3
0
 public ItemWiseSalesStatementController(IBranchAppService _BranchService, ILocationAppService _locationService, IItemInfoAppService _ItemService, IFYDDAppService _FYDDService)
 {
     this._BranchService   = _BranchService;
     this._locationService = _locationService;
     this._ItemService     = _ItemService;
     this._FYDDService     = _FYDDService;
 }
 public OnlineMoneyReceiptController(
     IBankReceiptAppService _bankReceiptService,
     INewChartAppService _newChartService,
     ISubsidiaryInfoAppService _subsidiaryInfoService, ICurrentStockAppService _currentStockService,
     ITransactionLogAppService _transactionLogService,
     IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService,
     IBranchAppService _branchService, IProjInfoAppService _ProjInfoService,
     IVchrSetAppService _vchrSetService, IDefACAppService _defACService,
     IMoneyReceiptAppService _moneyReceiptService, IMoneyReceiptExtAppService _moneyReceiptExtService,
     ISalesMainAppService _salesMainService, IGsetAppService _gsetService, ICashReceiptAppService _CashReceiptService,
     IBankInfoAppService _bankInfoService, IEmployeeAppService _employeeInfoService, IAcBRAppService _AcBrService)
 {
     this._bankReceiptService     = _bankReceiptService;
     this._newChartService        = _newChartService;
     this._subsidiaryInfoService  = _subsidiaryInfoService;
     this._currentStockService    = _currentStockService;
     this._transactionLogService  = _transactionLogService;
     this._sysSetService          = _sysSetService;
     this._branchService          = _branchService;
     this._ProjInfoService        = _ProjInfoService;
     this._vchrSetService         = _vchrSetService;
     this._defACService           = _defACService;
     this._moneyReceiptService    = _moneyReceiptService;
     this._moneyReceiptExtService = _moneyReceiptExtService;
     this._salesMainService       = _salesMainService;
     this._gsetService            = _gsetService;
     this._CashReceiptService     = _CashReceiptService;
     this._bankInfoService        = _bankInfoService;
     this._employeeInfoService    = _employeeInfoService;
     this._jarnalVoucherService   = _jarnalVoucherService;
     this._AcBrService            = _AcBrService;
 }
 public SalesCollectionStatController(IBranchAppService _BranchService, IFYDDAppService _FYDDService,
                                      IProjInfoAppService _ProjInfoService)
 {
     this._BranchService   = _BranchService;
     this._FYDDService     = _FYDDService;
     this._ProjInfoService = _ProjInfoService;
 }
示例#6
0
 public CommitteeController(IBranchAppService branchService, IIDMAppService iDMAppService, ICommitteeAppService committeeApplication, IMapper mapper, IOptionsSnapshot <RootConfigurations> rootConfiguration) : base(rootConfiguration)
 {
     _committeeApplication = committeeApplication;
     _branchService        = branchService;
     _iDMAppService        = iDMAppService;
     _mapper = mapper;
 }
 public BankOperationController(IBankOperationAppService _bankOperationService, IHORemitAppService _hoRemitService,
                                IPaymentAppService _paymentService, INewChartAppService _newChartService, ITransactionLogAppService _transactionLogService,
                                ISubsidiaryInfoAppService _subsidiaryService, IEmployeeAppService _employeeService, IAcBRAppService _AcBRService,
                                IDepositToBankAppService _depositToBankService, IWithdrawAppService _withdrawService, IOpnBalAppService _OpnBalService,
                                IBankReceiptAppService _BankReceiptAppService, IBankInfoAppService _BankInfoService, ISubsidiaryCtrlAppService _subsidiaryCtrlService,
                                IJarnalVoucherAppService _jarnalVoucherService, IBranchAppService _BranchService, ISysSetAppService _sysSetService)
 {
     this._bankOperationService  = _bankOperationService;
     this._hoRemitService        = _hoRemitService;
     this._paymentService        = _paymentService;
     this._newChartService       = _newChartService;
     this._subsidiaryService     = _subsidiaryService;
     this._employeeService       = _employeeService;
     this._AcBRService           = _AcBRService;
     this._depositToBankService  = _depositToBankService;
     this._withdrawService       = _withdrawService;
     this._transactionLogService = _transactionLogService;
     this._OpnBalService         = _OpnBalService;
     this._BankReceiptAppService = _BankReceiptAppService;
     this._BankInfoService       = _BankInfoService;
     this._subsidiaryCtrlService = _subsidiaryCtrlService;
     this._jarnalVoucherService  = _jarnalVoucherService;
     this._BranchService         = _BranchService;
     this._sysSetService         = _sysSetService;
 }
 public CashMoneyReceiptController(
     ICashReceiptSubDetailsAppService _CashReceiptSubDetailsAppService,
     IAcBRAppService _AcBrService,
     INewChartAppService _newChartService,
     ISubsidiaryInfoAppService _subsidiaryInfoService, ICurrentStockAppService _currentStockService,
     ITransactionLogAppService _transactionLogService,
     IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService,
     IBranchAppService _branchService, IProjInfoAppService _ProjInfoService,
     IVchrSetAppService _vchrSetService, IDefACAppService _defACService,
     IMoneyReceiptAppService _moneyReceiptService, IMoneyReceiptExtAppService _moneyReceiptExtService,
     ISalesMainAppService _salesMainService, IGsetAppService _gsetService, ICashReceiptAppService _CashReceiptService,
     CashReceiptController _CashReceiptController, ISubsidiaryExtAppService _SubsidiaryExtService, IPVchrMainAppService _pVchrmainService)
 {
     this._CashReceiptSubDetailsAppService = _CashReceiptSubDetailsAppService;
     this._AcBrService            = _AcBrService;
     this._jarnalVoucherService   = _jarnalVoucherService;
     this._newChartService        = _newChartService;
     this._subsidiaryInfoService  = _subsidiaryInfoService;
     this._currentStockService    = _currentStockService;
     this._transactionLogService  = _transactionLogService;
     this._sysSetService          = _sysSetService;
     this._branchService          = _branchService;
     this._ProjInfoService        = _ProjInfoService;
     this._vchrSetService         = _vchrSetService;
     this._defACService           = _defACService;
     this._moneyReceiptService    = _moneyReceiptService;
     this._moneyReceiptExtService = _moneyReceiptExtService;
     this._salesMainService       = _salesMainService;
     this._gsetService            = _gsetService;
     this._CashReceiptService     = _CashReceiptService;
     this._CashReceiptController  = _CashReceiptController;
     this._SubsidiaryExtService   = _SubsidiaryExtService;
     this._pVchrmainService       = _pVchrmainService;
 }
示例#9
0
 public ManageUsersAssignationController(IManageUsersAssignationAppService usersService, IIDMAppService iDMAppService, ICommitteeAppService committeeApplication, IBranchAppService branchService, IOptionsSnapshot <RootConfigurations> rootConfiguration) : base(rootConfiguration)
 {
     _iDMAppService        = iDMAppService;
     _usersService         = usersService;
     _branchService        = branchService;
     _committeeApplication = committeeApplication;
 }
 public ChequeReceiptsController(IBranchAppService _branchService, ISubsidiaryInfoAppService _subsidiaryService,
                                 ISubsidiaryCtrlAppService _subsidiaryCtrlService, IBankInfoAppService _bankInfoService, IChequeReceiptAppService _chequeReceiptService,
                                 ITransactionLogAppService _transactionLogService, ISubsidiaryExtAppService _SubsidiaryExtService, IChequeReceiptExtAppService _chqRecExtService,
                                 INewChartAppService _NewChartService, IEmployeeAppService _employeeInfoService, IJarnalVoucherAppService _jarnalVoucherService,
                                 ISalesMainAppService _salesMainService, IChequeArchiveAppService _chequeArchiveService, IBankReceiptAppService _bankReceiptService,
                                 IVchrMainAppService _vchrMainService, IMoneyReceiptAppService _moneyReceiptService,
                                 ISysSetAppService _sysSetService, IVchrSetAppService _vchrSetService, IMoneyReceiptExtAppService _moneyReceiptExtService)
 {
     this._branchService          = _branchService;
     this._subsidiaryService      = _subsidiaryService;
     this._subsidiaryCtrlService  = _subsidiaryCtrlService;
     this._bankInfoService        = _bankInfoService;
     this._chequeReceiptService   = _chequeReceiptService;
     this._transactionLogService  = _transactionLogService;
     this._SubsidiaryExtService   = _SubsidiaryExtService;
     this._NewChartService        = _NewChartService;
     this._employeeInfoService    = _employeeInfoService;
     this._jarnalVoucherService   = _jarnalVoucherService;
     this._chqRecExtService       = _chqRecExtService;
     this._salesMainService       = _salesMainService;
     this._chequeArchiveService   = _chequeArchiveService;
     this._bankReceiptService     = _bankReceiptService;
     this._vchrMainService        = _vchrMainService;
     this._moneyReceiptService    = _moneyReceiptService;
     this._sysSetService          = _sysSetService;
     this._vchrSetService         = _vchrSetService;
     this._moneyReceiptExtService = _moneyReceiptExtService;
 }
 public SalesReturnController(ICommonPVVMAppService _CommonVmService, ILocationAppService _locationService,
                              ISubsidiaryInfoAppService _subsidiaryInfoService, IItemInfoAppService _itemInfoService,
                              ICurrentStockAppService _currentStockService, ISalesMainAppService _SalesMainService,
                              ISalesDetailAppService _SaleDetailService,
                              IEmployeeAppService _EmployeeService, IBranchAppService _branchService,
                              IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService,
                              IVchrSetAppService _vchrSetService, ILotDTAppService _lotDtService, ICostLedgerAppService CostLedgerAppService,
                              IDefACAppService _defACService, IUnitAppService _unitService,
                              ISaleRetMainAppService _saleRetMainService, IIssueMainAppService _issueMainService,
                              ITransactionLogAppService _transactionLogService, ISaleRetDetailAppService _saleRetDetailService,
                              IReceiveAppService _receiveMainService, IReceiveDetailsAppService _receiveDetailService)
 {
     this._CommonVmService       = _CommonVmService;
     this._locationService       = _locationService;
     this._subsidiaryInfoService = _subsidiaryInfoService;
     this._itemInfoService       = _itemInfoService;
     this._currentStockService   = _currentStockService;
     this._SalesMainService      = _SalesMainService;
     this._SaleDetailService     = _SaleDetailService;
     this._EmployeeService       = _EmployeeService;
     this._jarnalVoucherService  = _jarnalVoucherService;
     this._sysSetService         = _sysSetService;
     this._vchrSetService        = _vchrSetService;
     this._lotDtService          = _lotDtService;
     this.CostLedgerAppService   = CostLedgerAppService;
     this._defACService          = _defACService;
     this._saleRetMainService    = _saleRetMainService;
     this._branchService         = _branchService;
     this._issueMainService      = _issueMainService;
     this._transactionLogService = _transactionLogService;
     this._saleRetDetailService  = _saleRetDetailService;
     this._receiveMainService    = _receiveMainService;
     this._receiveDetailService  = _receiveDetailService;
     this._unitService           = _unitService;
 }
示例#12
0
 public PendingController(IChequeReceiptAppService _IChequeReceiptAppService, IMoneyReceiptAppService _IMoneyReceiptAppService, IBranchAppService _BranchService, IFYDDAppService _FYDDService)
 {
     this._IMoneyReceiptAppService  = _IMoneyReceiptAppService;
     this._BranchService            = _BranchService;
     this._FYDDService              = _FYDDService;
     this._IChequeReceiptAppService = _IChequeReceiptAppService;
 }
示例#13
0
 public LookupController(ILookUpService lookupService, IMapper mapper, IIDMAppService iDMAppService, IBranchAppService branchAppService, IMemoryCache cache, IOptionsSnapshot <RootConfigurations> rootConfiguration) : base(rootConfiguration)
 {
     this.lookupService = lookupService;
     this.mapper        = mapper;
     _iDMAppService     = iDMAppService;
     _branchAppService  = branchAppService;
     _cache             = cache;
 }
示例#14
0
 public rptSalesCollectionComparisonController(IFYDDAppService _FYDDService, ISubsidiaryInfoAppService _SubsidiaryService, ILocationAppService _locationService, IBranchAppService _BranchService, IProjInfoAppService _ProjInfoService)
 {
     this._locationService   = _locationService;
     this._BranchService     = _BranchService;
     this._ProjInfoService   = _ProjInfoService;
     this._SubsidiaryService = _SubsidiaryService;
     this._FYDDService       = _FYDDService;
 }
示例#15
0
 public VMBINController(IBranchAppService _BranchService, IProjInfoAppService _ProjInfoService,
                        INewChartAppService _NewChartAppService, IVM_BINAppService _pR_VM_BINService)
 {
     this._pR_VM_BINService   = _pR_VM_BINService;
     this._BranchService      = _BranchService;
     this._ProjInfoService    = _ProjInfoService;
     this._NewChartAppService = _NewChartAppService;
 }
示例#16
0
 public CustomerWiseSalesStatementController(IBranchAppService _BranchService, IFYDDAppService _FYDDService,
                                             IProjInfoAppService _ProjInfoService, ISubsidiaryInfoAppService _SubsidiaryService)
 {
     this._BranchService     = _BranchService;
     this._FYDDService       = _FYDDService;
     this._ProjInfoService   = _ProjInfoService;
     this._SubsidiaryService = _SubsidiaryService;
 }
 public ManageVendorsController(IMapper mapper, IIDMAppService iDMAppService, ICommitteeAppService committeeApplication, IBranchAppService branchService, ISupplierService supplierService, IOptionsSnapshot <RootConfigurations> rootConfiguration) : base(rootConfiguration)
 {
     _iDMAppService        = iDMAppService;
     _mapper               = mapper;
     _branchService        = branchService;
     _committeeApplication = committeeApplication;
     _supplierService      = supplierService;
 }
示例#18
0
 public GL_OpenBalController(IBranchAppService _BranchService, IProjInfoAppService _ProjInfoService,
                             INewChartAppService _NewChartAppService, IOpenBalAppService _pR_OpenBalanceService, ITransactionLogAppService _transactionLogService)
 {
     this._pR_OpenBalanceService = _pR_OpenBalanceService;
     this._BranchService         = _BranchService;
     this._ProjInfoService       = _ProjInfoService;
     this._NewChartAppService    = _NewChartAppService;
     this._transactionLogService = _transactionLogService;
 }
示例#19
0
 public ProductionRptController(IItemTypeAppService _itemTypeService, IBranchAppService _branchService, IFYDDAppService _FYDDService,
                                ILocationAppService _locationService, ICommonPVVMAppService _CommonVmService)
 {
     this._CommonVmService = _CommonVmService;
     this._itemTypeService = _itemTypeService;
     this._branchService   = _branchService;
     this._FYDDService     = _FYDDService;
     this._locationService = _locationService;
 }
 public BalSheetRptController(IBranchAppService _BranchService, IProjInfoAppService _ProjInfoService,
                              IBalSheetRptAppService _BalSheetRptService, ISysSetAppService _sysSetService, IFYDDAppService _FYDDService)
 {
     this._BranchService      = _BranchService;
     this._ProjInfoService    = _ProjInfoService;
     this._BalSheetRptService = _BalSheetRptService;
     this._sysSetService      = _sysSetService;
     this._FYDDService        = _FYDDService;
 }
示例#21
0
 public StoreRptController(IBranchAppService _BranchService,
                           IIssRecSrcDestAppService _issRecvSrcDestService, IFYDDAppService _FYDDService,
                           IItemInfoAppService _ItemInfoService)
 {
     this._BranchService         = _BranchService;
     this._FYDDService           = _FYDDService;
     this._ItemInfoService       = _ItemInfoService;
     this._issRecvSrcDestService = _issRecvSrcDestService;
 }
示例#22
0
 public AccountsController(IEmployeeAppService _employeeService, IFYDDAppService _FYDDAppService, IBranchAppService _branchService, IFuncSLAppService _funcSLService, IEmployeeFuncAppService _employeeFuncService, IUserBranchAppService _userbranchService)
 {
     this._employeeService     = _employeeService;
     this._FYDDAppService      = _FYDDAppService;
     this._branchService       = _branchService;
     this._funcSLService       = _funcSLService;
     this._employeeFuncService = _employeeFuncService;
     this._userbranchService   = _userbranchService;
 }
 public MontlyQuantityController(IFYDDAppService _FYDDService, ILocationAppService _ILocationAppService, ISubsidiaryInfoAppService _ISubsidiaryInfoService, IBranchAppService _BranchService,
                                 IProjInfoAppService _ProjInfoService)
 {
     this._BranchService          = _BranchService;
     this._ISubsidiaryInfoService = _ISubsidiaryInfoService;
     this._ProjInfoService        = _ProjInfoService;
     this._ILocationAppService    = _ILocationAppService;
     this._ProjInfoService        = _ProjInfoService;
     this._FYDDService            = _FYDDService;
 }
示例#24
0
 public AccountController(INotificationAppService notificationAppService, IMemoryCache cache, IMapper mapper, IIDMAppService iDMAppService, IBranchAppService iBranchAppService, ISubscriptionService subscriptionService, IOptionsSnapshot <RootConfigurations> rootConfiguration) : base(rootConfiguration)
 {
     _notificationAppService = notificationAppService;
     _mapper              = mapper;
     _iDMAppService       = iDMAppService;
     _IbranchAppService   = iBranchAppService;
     _subscriptionService = subscriptionService;
     _rootConfiguration   = rootConfiguration.Value;
     _cache = cache;
 }
示例#25
0
 public VchrPreviewController(IVchrMainAppService _vchrMainService, IJTrGrpAppService _jTrGrpService,
                              IVchrPreviewVMAppService _VchrPreviewVMService, ILedgerCaptionAppService _LedgerCapService,
                              IBranchAppService _BranchService, ISysSetAppService _sysSetService)
 {
     this._VchrPreviewVMService = _VchrPreviewVMService;
     this._vchrMainService      = _vchrMainService;
     this._jTrGrpService        = _jTrGrpService;
     this._LedgerCapService     = _LedgerCapService;
     this._BranchService        = _BranchService;
     this._sysSetService        = _sysSetService;
 }
示例#26
0
 public JobWiseRecPayController(IBranchAppService _BranchService, IProjInfoAppService _ProjInfoService,
                                IBalSheetRptAppService _BalSheetRptService, ISysSetAppService _sysSetService, IFYDDAppService _FYDDService,
                                IrptJobWiseVMAppService _JobWiseReportService)
 {
     this._BranchService        = _BranchService;
     this._ProjInfoService      = _ProjInfoService;
     this._BalSheetRptService   = _BalSheetRptService;
     this._sysSetService        = _sysSetService;
     this._FYDDService          = _FYDDService;
     this._JobWiseReportService = _JobWiseReportService;
 }
示例#27
0
 public ListOfTransactionController(IBranchAppService _BranchService, IEmployeeAppService _employeeService,
                                    IJTrGrpAppService _jTrGrpService, IJarnalVoucherAppService _jarnalVoucherService,
                                    IUserBranchAppService _userbranchService, IFYDDAppService _FYDDService, ISysSetAppService _sysSetService)
 {
     this._jTrGrpService        = _jTrGrpService;
     this._BranchService        = _BranchService;
     this._employeeService      = _employeeService;
     this._jarnalVoucherService = _jarnalVoucherService;
     this._userbranchService    = _userbranchService;
     this._FYDDService          = _FYDDService;
     this._sysSetService        = _sysSetService;
 }
 public BranchWiseCashBankController(ISubsidiaryInfoAppService _subsidiaryInfoService,
                                     IBranchAppService _branchService,
                                     IAcBRAppService _acbrServic,
                                     IDefACAppService _defacService,
                                     INewChartAppService _newchartService,
                                     IGsetAppService _GsetService)
 {
     this._defacService    = _defacService;
     this._acbrServic      = _acbrServic;
     this._branchService   = _branchService;
     this._newchartService = _newchartService;
     this._GsetService     = _GsetService;
 }
示例#29
0
 public StockLedgerRptController(IReportLedgerAppService _ReportLedgerService, ILedgerCaptionAppService _LedgerCapService,
                                 IItemInfoAppService _ItemService, IBranchAppService _BranchService, IFYDDAppService _FYDDService, ISysSetAppService _sysSetService,
                                 IItemTypeAppService _itemTypeService, ICommonPVVMAppService _CommonVmService)
 {
     this._ReportLedgerService = _ReportLedgerService;
     this._LedgerCapService    = _LedgerCapService;
     this._ItemService         = _ItemService;
     this._BranchService       = _BranchService;
     this._FYDDService         = _FYDDService;
     this._sysSetService       = _sysSetService;
     this._itemTypeService     = _itemTypeService;
     this._CommonVmService     = _CommonVmService;
 }
 public SecUserLoginController(ISecUserInGroupAppService _secUserInGroupService, ISecFormRightAppService _secFormRightService,
                               ISecUserInfoAppService _secUserInfoService, ISecFormProcessAppService _secFormProcessService,
                               ISecFormListAppService _secFormListService, IFYDDAppService _FYDDService, IBranchAppService _branchService,
                               ISysSetAppService _sysSetService, IUserBranchAppService _userBranchService)
 {
     this._secUserInGroupService = _secUserInGroupService;
     this._secFormRightService   = _secFormRightService;
     this._secUserInfoService    = _secUserInfoService;
     this._secFormProcessService = _secFormProcessService;
     this._secFormListService    = _secFormListService;
     this._FYDDService           = _FYDDService;
     this._branchService         = _branchService;
     this._sysSetService         = _sysSetService;
     this._userBranchService     = _userBranchService;
 }