Exemplo n.º 1
0
 public PSASMainAppService(
     IRepository <MS_UnitItem> msUnitItem,
     IRepository <LK_Item> lkItem,
     IRepository <MS_Unit> msUnit,
     IRepository <MS_UnitCode> msUnitCode,
     IRepository <TR_BookingHeader> trBookingHeader,
     IRepository <MS_Area> msArea,
     IRepository <MS_Project> msProject,
     IRepository <MS_Product> msProduct,
     IRepository <MS_Cluster> msCluster,
     IRepository <MS_Category> msCategory,
     IRepository <MS_Detail> msDetail,
     IRepository <MS_Term> msTerm,
     IRepository <LK_UnitStatus> lkUnitStatus,
     IRepository <PERSONALS, string> personals,
     IRepository <LK_PayType> lkPayType,
     IRepository <MS_TransFrom> msTransform,
     IRepository <MS_Schema, string> msSchema,
     IRepository <MS_ShopBusiness> msShopBusiness,
     IRepository <MS_SalesEvent> msSalesEvent,
     IRepository <LK_SADStatus> lkSADStatus,
     IRepository <LK_Promotion> lkPromotion,
     IRepository <TR_BookingDetail> trBookingDetail,
     IRepository <LK_FinType> lkFinType,
     IRepository <TR_BookingCancel> trBookingCancel,
     IRepository <MS_Company> msCompanyRepo,
     IRepository <TR_Address, string> trAddressRepo,
     IRepository <PERSONALS_MEMBER, string> personalMemberRepo,
     IRepository <TR_Phone, string> trPhoneRepo,
     IRepository <LK_Reason> lkReasonRepo,
     IPSASPriceAppService ipriceAppService,
     PersonalsNewDbContext contextPers,
     NewCommDbContext contextNew,
     IPSASPaymentAppService iPaymentAppService,
     IPSASScheduleAppService iScheduleAppService,
     IPrintBookingProfileExcelExporter printBookingProfileExcelExporter,
     TAXDbContext contextTax,
     PropertySystemDbContext contextProp
     )
 {
     _contextTax = contextTax;
     _printBookingProfileExcelExporter = printBookingProfileExcelExporter;
     _iScheduleAppService = iScheduleAppService;
     _iPaymentAppService  = iPaymentAppService;
     _contextProp         = contextProp;
     _msUnitItemRepo      = msUnitItem;
     _lkItemRepo          = lkItem;
     _msUnitRepo          = msUnit;
     _msUnitCodeRepo      = msUnitCode;
     _trBookingHeaderRepo = trBookingHeader;
     _msAreaRepo          = msArea;
     _msProjectRepo       = msProject;
     _msProductRepo       = msProduct;
     _msClusterRepo       = msCluster;
     _msCategoryRepo      = msCategory;
     _msDetailRepo        = msDetail;
     _msTermRepo          = msTerm;
     _lkUnitStatusRepo    = lkUnitStatus;
     _personalsRepo       = personals;
     _lkPayTypeRepo       = lkPayType;
     _msTransformRepo     = msTransform;
     _msSchemaRepo        = msSchema;
     _msShopBusinessRepo  = msShopBusiness;
     _msSalesEventRepo    = msSalesEvent;
     _lkSADStatusRepo     = lkSADStatus;
     _lkPromotionRepo     = lkPromotion;
     _trBookingDetailRepo = trBookingDetail;
     _lkFinTypeRepo       = lkFinType;
     _trBookingCancelRepo = trBookingCancel;
     _msCompanyRepo       = msCompanyRepo;
     _trAddressRepo       = trAddressRepo;
     _personalMemberRepo  = personalMemberRepo;
     _trPhoneRepo         = trPhoneRepo;
     _lkReasonRepo        = lkReasonRepo;
     _ipriceAppService    = ipriceAppService;
     _contextPers         = contextPers;
     _contextNew          = contextNew;
 }
Exemplo n.º 2
0
 public BulkPaymentAppService(
     IRepository <LK_Alloc> lkAllocRepo,
     IRepository <LK_PayFor> lkPayForRepo,
     IRepository <LK_PayType> lkPayTypeRepo,
     IRepository <LK_OthersType> lkOthersTypeRepo,
     IRepository <SYS_RolesPayFor> sysRolesPayForRepo,
     IRepository <SYS_RolesPayType> sysRolesPayTypeRepo,
     IRepository <SYS_RolesOthersType> sysRolesOthersTypeRepo,
     PropertySystemDbContext contextPropertySystem,
     AccountingDbContext contextAccounting,
     TAXDbContext contextTAX,
     PersonalsNewDbContext contextPersonals,
     DemoDbContext contextEngine3,
     IRepository <TR_PaymentHeader> trPaymentHeaderRepo,
     IRepository <TR_BookingHeader> trBookingHeaderRepo,
     IRepository <TR_PaymentDetail> trPaymentDetailRepo,
     IRepository <TR_PaymentDetailAlloc> trPaymentDetailAllocRepo,
     IRepository <TR_PaymentBulk> trPaymentBulkRepo,
     IRepository <MS_Unit> msUnitRepo,
     IRepository <MS_UnitCode> msUnitCodeRepo,
     IRepository <MS_Project> msProjectRepo,
     IRepository <MS_Area> msAreaRepo,
     IRepository <MS_Category> msCategoryRepo,
     IRepository <MS_Cluster> msClusterRepo,
     IRepository <TR_BookingDetail> trBookingDetailRepo,
     IRepository <TR_BookingDetailSchedule> trBookingDetailScheduleRepo,
     IRepository <MS_Company> msCompanyRepo,
     IRepository <MS_Account> msAccountRepo,
     IInputPaymentAppService iInputPaymentAppService,
     IPSASScheduleAppService iPSASScheduleAppService
     )
 {
     _lkAllocRepo                 = lkAllocRepo;
     _lkPayForRepo                = lkPayForRepo;
     _lkPayTypeRepo               = lkPayTypeRepo;
     _lkOthersTypeRepo            = lkOthersTypeRepo;
     _sysRolesPayForRepo          = sysRolesPayForRepo;
     _sysRolesPayTypeRepo         = sysRolesPayTypeRepo;
     _sysRolesOthersTypeRepo      = sysRolesOthersTypeRepo;
     _contextPropertySystem       = contextPropertySystem;
     _contextAccounting           = contextAccounting;
     _contextTAX                  = contextTAX;
     _contextPersonals            = contextPersonals;
     _contextEngine3              = contextEngine3;
     _trPaymentHeaderRepo         = trPaymentHeaderRepo;
     _trBookingHeaderRepo         = trBookingHeaderRepo;
     _trPaymentDetailRepo         = trPaymentDetailRepo;
     _trPaymentDetailAllocRepo    = trPaymentDetailAllocRepo;
     _trPaymentBulkRepo           = trPaymentBulkRepo;
     _msUnitRepo                  = msUnitRepo;
     _msUnitCodeRepo              = msUnitCodeRepo;
     _msProjectRepo               = msProjectRepo;
     _msAreaRepo                  = msAreaRepo;
     _msCategoryRepo              = msCategoryRepo;
     _msClusterRepo               = msClusterRepo;
     _trBookingDetailRepo         = trBookingDetailRepo;
     _trBookingDetailScheduleRepo = trBookingDetailScheduleRepo;
     _msCompanyRepo               = msCompanyRepo;
     _msAccountRepo               = msAccountRepo;
     _iInputPaymentAppService     = iInputPaymentAppService;
     _iPSASScheduleAppService     = iPSASScheduleAppService;
 }