Пример #1
0
 public CashierReceiptController(IUtilityService utilityservice, IUserCredentialService usercredentialservice, IModuleService iIModuleService, IRetailBillService RetailBillService,
                                 ISalesBillService SalesBillService, ICashierSalesOrderService CashierSalesOrderService, ICashierRetailBillService CashierRetailBillService, ICashierSalesBillService CashierSalesBillService,
                                 ICardChequeHandoverService CardChequeHandoverService, ICashHandoverService CashHandoverService, IRetailBillAdjAmtDetailService RetailBillAdjAmtDetailService,
                                 ISalesBillAdjAmtDetailService SalesBillAdjAmtDetailService, ICashierRefundOrderService CashierRefundOrderService, IBalanceCarryForwardService BalanceCarryForwardService,
                                 IIncomeExpenseVoucherService IncomeExchangeVoucherService, ITemporaryCashMemoService TemporaryCashMemoService, ITemporaryCashMemoAdjAmtDetailService TemporaryCashMemoAdjAmtDetailService,
                                 ICashierTemporaryCashMemoService CashierTemporaryCashMemoService, ISalesReturnService SalesReturnService)
 {
     this._utilityservice                       = utilityservice;
     this._IUserCredentialService               = usercredentialservice;
     this._iIModuleService                      = iIModuleService;
     this._RetailBillService                    = RetailBillService;
     this._SalesBillService                     = SalesBillService;
     this._CashierSalesOrderService             = CashierSalesOrderService;
     this._CashierRetailBillService             = CashierRetailBillService;
     this._CashierSalesBillService              = CashierSalesBillService;
     this._CardChequeHandoverService            = CardChequeHandoverService;
     this._CashHandoverService                  = CashHandoverService;
     this._RetailBillAdjAmtDetailService        = RetailBillAdjAmtDetailService;
     this._SalesBillAdjAmtDetailService         = SalesBillAdjAmtDetailService;
     this._CashierRefundOrderService            = CashierRefundOrderService;
     this._BalanceCarryForwardService           = BalanceCarryForwardService;
     this._IncomeExchangeVoucherService         = IncomeExchangeVoucherService;
     this._TemporaryCashMemoService             = TemporaryCashMemoService;
     this._TemporaryCashMemoAdjAmtDetailService = TemporaryCashMemoAdjAmtDetailService;
     this._CashierTemporaryCashMemoService      = CashierTemporaryCashMemoService;
     this._SalesReturnService                   = SalesReturnService;
 }
 public SalesReturnController()
 {
     var dbfactory = new DatabaseFactory();
     _SalesReturnService = new SalesReturnService(new SalesReturnRepository(dbfactory),
         new SalesReturnDetailRepository(dbfactory), new StockInRepository(dbfactory), new UnitOfWork(dbfactory));
     _SecCompanyService = new SecCompanyService(new SecCompanyRepository(dbfactory), new UnitOfWork(dbfactory));
     _officeService = new OfficeService(new OfficeRepository(dbfactory), new UnitOfWork(dbfactory));
     _hrmEmployeeService = new HrmEmployeeService(new HrmEmployeeRepository(dbfactory), new UnitOfWork(dbfactory));
 }
Пример #3
0
 public DashboardController(IUtilityService utilityservice, IUserCredentialService usercredentialservice, IModuleService iIModuleService, IPurchaseOrderDetailService IPurchaseOrderDetailService, IOutwardToShopService OutwardToShopService, IOutwardToClientService IOutwardToClientService, IShopStockService IShopStockService,
                            IGodownStockService GodownStockService, IStockItemDistributionService IStockItemDistributionService, IRetailBillService IRetailInvoiceMasterService, ISalesBillService ISalesBillService, IEmployeeMasterService EmployeeMasterService, IEntryStockItemService EntryStockItemService,
                            IQuotationService QuotationService, ISalesOrderService SalesOrderService, IDeliveryChallanService DeliveryChallanService, IInwardFromGodownService InwardFromGodownService, IInwardFromShopToGodownService InwardFromShopToGodownService, IInwardInterGodownService InwardInterGodownService, IInwardInterShopService InwardInterShopService,
                            IRequisitionForShopService RequisitionForShopService, IRequisitionForGodownService RequisitionForGodownService, IOutwardShopToGodownService OutwardShopToGodownService, IOutwardInterGodownService OutwardInterGodownService, IOutwardInterShopService OutwardInterShopService, ISalesReturnService SalesReturnService,
                            IPurchaseReturnService PurchaseReturnService, IInwardFromSupplierService InwardFromSupplierService, ICashierSalesOrderService CashierSalesOrderService, ICashierRetailBillService CashierRetailBillService, ICashierTemporaryCashMemoService CashierTemporaryCashMemoService, ICashierSalesBillService CashierSalesBillService,
                            ICashierRefundOrderService CashierRefundOrderService, ICashHandoverService CashHandoverService, ICardChequeHandoverService CardChequeHandoverService, IIncomeExpenseVoucherService IncomeExchangeVoucherService)
 {
     this._IUserCredentialService          = usercredentialservice;
     this._iIModuleService                 = iIModuleService;
     this._IPurchaseOrderDetailService     = IPurchaseOrderDetailService;
     this._IOutwardToClientService         = IOutwardToClientService;
     this._EntryStockItemService           = EntryStockItemService;
     this._IShopStockService               = IShopStockService;
     this._GodownStockService              = GodownStockService;
     this._IStockItemDistributionService   = IStockItemDistributionService;
     this._IRetailInvoiceMasterService     = IRetailInvoiceMasterService;
     this._ISalesBillService               = ISalesBillService;
     this._EmployeeMasterService           = EmployeeMasterService;
     this._QuotationService                = QuotationService;
     this._SalesOrderService               = SalesOrderService;
     this._DeliveryChallanService          = DeliveryChallanService;
     this._RequisitionForShopService       = RequisitionForShopService;
     this._RequisitionForGodownService     = RequisitionForGodownService;
     this._OutwardToShopService            = OutwardToShopService;
     this._OutwardShopToGodownService      = OutwardShopToGodownService;
     this._OutwardInterGodownService       = OutwardInterGodownService;
     this._OutwardInterShopService         = OutwardInterShopService;
     this._InwardFromGodownService         = InwardFromGodownService;
     this._InwardFromShopToGodownService   = InwardFromShopToGodownService;
     this._InwardInterGodownService        = InwardInterGodownService;
     this._InwardInterShopService          = InwardInterShopService;
     this._SalesReturnService              = SalesReturnService;
     this._PurchaseReturnService           = PurchaseReturnService;
     this._InwardFromSupplierService       = InwardFromSupplierService;
     this._CashierSalesOrderService        = CashierSalesOrderService;
     this._CashierRetailBillService        = CashierRetailBillService;
     this._CashierTemporaryCashMemoService = CashierTemporaryCashMemoService;
     this._CashierSalesBillService         = CashierSalesBillService;
     this._CashierRefundOrderService       = CashierRefundOrderService;
     this._CashHandoverService             = CashHandoverService;
     this._CardChequeHandoverService       = CardChequeHandoverService;
     this._IncomeExchangeVoucherService    = IncomeExchangeVoucherService;
 }
Пример #4
0
 public SalesReturnsController(ISalesReturnService salesReturnService, ISalesReturnViewModelSelectListBuilder salesReturnViewModelSelectListBuilder, ICustomerRepository customerRepository)
     : base(salesReturnService, salesReturnViewModelSelectListBuilder, true)
 {
     this.customerRepository = customerRepository;
 }
 public SalesReturnListController()
 {
     var dbfactory = new DatabaseFactory();
     _SalesReturnService = new SalesReturnService(new SalesReturnRepository(dbfactory),
         new SalesReturnDetailRepository(dbfactory), new StockInRepository(dbfactory), new UnitOfWork(dbfactory));
 }