Exemple #1
0
 public MsEntityAppService(
     IRepository <MS_Entity> msEntityRepo,
     IRepository <MS_Account> msAccountRepo,
     IRepository <MS_Bank> msBankRepo,
     IRepository <MS_BankBranch> msBankBranch,
     IRepository <MS_Company> msCompany,
     IRepository <MS_Project> msProject,
     IRepository <MS_Cluster> msCluster,
     IRepository <MS_Unit> msUnit,
     IRepository <MS_UnitCode> msUnitCode,
     IRepository <MS_Zoning> msZoning,
     PropertySystemDbContext contextProp
     )
 {
     _msEntityRepo     = msEntityRepo;
     _msAccountRepo    = msAccountRepo;
     _msBankRepo       = msBankRepo;
     _msBankBranchRepo = msBankBranch;
     _msCompanyRepo    = msCompany;
     _msProjectRepo    = msProject;
     _msClusterRepo    = msCluster;
     _msUnitRepo       = msUnit;
     _msUnitCodeRepo   = msUnitCode;
     _msZoningRepo     = msZoning;
     _contextProp      = contextProp;
 }
Exemple #2
0
        public static void SeedPropertySystemDb(PropertySystemDbContext context)
        {
            context.SuppressAutoSetTenantId = true;

            //Host seed
            new InitialDbBuilder(context).Create();
        }
Exemple #3
0
 public DiagramaticAppService(
     IRepository <MS_Unit> msUnit,
     IRepository <MS_UnitItem> msUnitItem,
     IRepository <MS_UnitItemPrice> msUnitItemPrice,
     IRepository <MS_Detail> msDetail,
     IRepository <MS_UnitCode> msUnitCode,
     IRepository <MS_Renovation> msRenovation,
     IRepository <TR_UnitOrderHeader> trUnitOrderHeader,
     IRepository <MS_TermMain> msTermMainRepo,
     IRepository <MS_Term> msTermRepo,
     IRepository <TR_UnitOrderDetail> trUnitOrderDetail,
     IRepository <MS_Cluster> msCluster,
     IRepository <LK_Item> lkItem,
     IRepository <MS_TermAddDisc> msTermAddDisc,
     IRepository <PERSONALS, string> personalsRepo,
     IRepository <PERSONALS_MEMBER, string> personalsMemberRepo,
     IRepository <TR_UnitReserved> trUnitReserved,
     IRepository <LK_UnitStatus> lkUnitStatus,
     IRepository <MS_Project> msProject,
     IRepository <MS_UnitRoom> msUnitRoomRepo,
     IRepository <MS_Zoning> msZoningRepo,
     IRepository <MS_SumberDana> msSumberDanaRepo,
     IRepository <MS_TujuanTransaksi> msTujuanTransaksiRepo,
     PropertySystemDbContext contextProp,
     IRepository <LK_PaymentType> lkPaymentType,
     ITransactionAppService transactionAppService
     )
 {
     _msUnit                = msUnit;
     _msUnitItem            = msUnitItem;
     _msUnitItemPrice       = msUnitItemPrice;
     _msDetail              = msDetail;
     _msUnitCode            = msUnitCode;
     _trUnitOrderHeader     = trUnitOrderHeader;
     _msTermMainRepo        = msTermMainRepo;
     _msTermRepo            = msTermRepo;
     _trUnitOrderDetail     = trUnitOrderDetail;
     _msCluster             = msCluster;
     _lkItem                = lkItem;
     _msTermAddDiscRepo     = msTermAddDisc;
     _personalsRepo         = personalsRepo;
     _personalMemberRepo    = personalsMemberRepo;
     _trUnitReserved        = trUnitReserved;
     _msRenovation          = msRenovation;
     _msProject             = msProject;
     _msUnitRoomRepo        = msUnitRoomRepo;
     _msZoningRepo          = msZoningRepo;
     _lkUnitStatus          = lkUnitStatus;
     _msSumberDanaRepo      = msSumberDanaRepo;
     _msTujuanTransaksiRepo = msTujuanTransaksiRepo;
     _contextProp           = contextProp;
     _lkPaymentType         = lkPaymentType;
     _transactionAppService = transactionAppService;
 }
 public MsBobotCommAppService(
     IRepository <MS_BobotComm> msBobotCommRepo,
     IRepository <MS_Project> msProjectRepo,
     IRepository <MS_Cluster> msClusterRepo,
     IRepository <MS_Unit> msUnitRepo,
     IRepository <MS_UnitCode> msUnitCodeRepo,
     NewCommDbContext context,
     PropertySystemDbContext contextProp
     )
 {
     _msBobotCommRepo = msBobotCommRepo;
     _msProjectRepo   = msProjectRepo;
     _msClusterRepo   = msClusterRepo;
     _msUnitRepo      = msUnitRepo;
     _msUnitCodeRepo  = msUnitCodeRepo;
     _context         = context;
     _contextProp     = contextProp;
 }
Exemple #5
0
 public PaymentOBAppService(PaymentOBConfiguration configuration,
                            IPaymentMidtransHelper paymentMidtranshelper,
                            IRepository <TR_UnitOrderHeader> trUnitOrderHeader,
                            IRepository <TR_UnitOrderDetail> trUnitOrderDetail,
                            IRepository <MS_Unit> msUnit,
                            IRepository <MS_UnitCode> msUnitCode,
                            IRepository <PERSONALS, string> personalsRepo,
                            IRepository <TR_BookingHeader> bookingHeaderRepo,
                            IRepository <MS_TujuanTransaksi> tujuanTransaksiRepo,
                            IRepository <MS_SumberDana> sumberDanaRepo,
                            IRepository <TR_ID, string> trIDRepo,
                            IRepository <MS_Schema, string> msSchemaRepo,
                            IRepository <PERSONALS_MEMBER, string> personalsMemberRepo,
                            IRepository <TR_Phone, string> trPhoneRepo,
                            PersonalsNewDbContext personalContext,
                            PropertySystemDbContext propertySystemContext,
                            NewCommDbContext newCommContext,
                            IEmailAppService emailAppService)
 {
     _newCommContext        = newCommContext;
     _propertySystemContext = propertySystemContext;
     _personalContext       = personalContext;
     _trUnitOrderHeader     = trUnitOrderHeader;
     _trUnitOrderDetail     = trUnitOrderDetail;
     _msUnit                = msUnit;
     _msUnitCode            = msUnitCode;
     _personalsRepo         = personalsRepo;
     _bookingHeaderRepo     = bookingHeaderRepo;
     _tujuanTransaksiRepo   = tujuanTransaksiRepo;
     _sumberDanaRepo        = sumberDanaRepo;
     _trIDRepo              = trIDRepo;
     _msSchemaRepo          = msSchemaRepo;
     _personalsMemberRepo   = personalsMemberRepo;
     _trPhoneRepo           = trPhoneRepo;
     _paymentMidtranshelper = paymentMidtranshelper;
     _configuration         = configuration;
     _emailAppService       = emailAppService;
 }
Exemple #6
0
 public GeneratePriceAppService(
     IGeneratePriceListExcelExporter generatePriceListExcelExporter,
     IRepository <MS_Unit> msUnitRepo,
     IRepository <MS_UnitCode> msUnitCodeRepo,
     IRepository <MS_Term> msTermRepo,
     IRepository <MS_TermMain> msTermMainRepo,
     IRepository <MS_TermAddDisc> msTermAddDiscRepo,
     IRepository <MS_TermDP> msTermDpRepo,
     IRepository <MS_TermPmt> msTermPmtRepo,
     IRepository <LK_FinType> lkFinTypeRepo,
     IRepository <MS_Product> msProductRepo,
     IRepository <MS_PriceTaskList> msPriceTaskListRepo,
     FilesHelper filesHelper,
     ILocalizationManager localizationManager,
     IHostingEnvironment environment,
     PropertySystemDbContext contextProp,
     IHttpContextAccessor httpContextAccessor)
 {
     _generatePriceListExcelExporter = generatePriceListExcelExporter;
     _msUnitRepo          = msUnitRepo;
     _msUnitCodeRepo      = msUnitCodeRepo;
     _msTermRepo          = msTermRepo;
     _msTermMainRepo      = msTermMainRepo;
     _msTermDpRepo        = msTermDpRepo;
     _msTermAddDiscRepo   = msTermAddDiscRepo;
     _msTermPmtRepo       = msTermPmtRepo;
     _lkFinTypeRepo       = lkFinTypeRepo;
     _msProductRepo       = msProductRepo;
     _msPriceTaskListRepo = msPriceTaskListRepo;
     _filesHelper         = filesHelper;
     _localizationManager = localizationManager;
     _hostingEnvironment  = environment;
     _contextProp         = contextProp;
     _hostingEnvironment  = environment;
     _httpContextAccessor = httpContextAccessor;
     _appConfiguration    = environment.GetAppConfiguration();
 }
Exemple #7
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;
 }
Exemple #8
0
 public RentalStatusCreator(PropertySystemDbContext context)
 {
     _context = context;
 }
Exemple #9
0
 public PSASChangeRenovAppService(
     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 <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,
     PropertySystemDbContext contextProp,
     IRepository <TR_BookingItemPrice> trBookingItemPriceRepo,
     IRepository <TR_BookingDetailAddDisc> trBookingDetailAddDiscRepo
     )
 {
     _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;
     _msCompanyRepo              = msCompanyRepo;
     _trAddressRepo              = trAddressRepo;
     _personalMemberRepo         = personalMemberRepo;
     _trPhoneRepo                = trPhoneRepo;
     _lkReasonRepo               = lkReasonRepo;
     _iPriceAppService           = iPriceAppService;
     _contextPers                = contextPers;
     _contextNew                 = contextNew;
     _trBookingItemPriceRepo     = trBookingItemPriceRepo;
     _trBookingDetailAddDiscRepo = trBookingDetailAddDiscRepo;
 }
Exemple #10
0
 public InitialDbBuilder(PropertySystemDbContext context)
 {
     _context = context;
 }
Exemple #11
0
 public DepartmentCreator(PropertySystemDbContext context)
 {
     _context = context;
 }
Exemple #12
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;
 }
Exemple #13
0
 public DetailCreator(PropertySystemDbContext context)
 {
     _context = context;
 }
Exemple #14
0
 public CountryCreator(PropertySystemDbContext context)
 {
     _context = context;
 }