コード例 #1
0
 public ProcurementController()
 {
     UnitOfWork                   = new UnitOfWork();
     ProcurementServices          = new ProcurementServices(UnitOfWork);
     ProcrurementTypeServices     = new ProcrurementTypeServices(UnitOfWork);
     SupplierCompanyServices      = new SupplierCompanyServices(UnitOfWork);
     SubSubSubSubCategoryServices = new SubSubSubSubCategoryServices(UnitOfWork);
     SubSubSubCategoryServices    = new SubSubSubCategoryServices(UnitOfWork);
     SubSubCategoryServices       = new SubSubCategoryServices(UnitOfWork);
     SubCategoryServices          = new SubCategoryServices(UnitOfWork);
     CategoryServices             = new CategoryServices(UnitOfWork);
     ItemServices                 = new ItemServices(UnitOfWork);
     ModelServices                = new ModelServices(UnitOfWork);
     BrandServices                = new BrandServices(UnitOfWork);
     UnitServices                 = new UnitServices(UnitOfWork);
 }
コード例 #2
0
 public ProcurementController()
 {
     UnitOfWork                 = new UnitOfWork();
     ProcurementServices        = new ProcurementServices(UnitOfWork);
     ProcrurementTypeServices   = new ProcrurementTypeServices(UnitOfWork);
     SupplierCompanyServices    = new SupplierCompanyServices(UnitOfWork);
     StoreService               = new StoreServices(UnitOfWork);
     ItemServices               = new ItemServices(UnitOfWork);
     SubContractCompanyServices = new SubContractCompanyServices(UnitOfWork);
     SubStoreServices           = new SubStoreServices(UnitOfWork);
     SubSubStoreServices        = new SubSubStoreServices(UnitOfWork);
     SubSubSubStoreServices     = new SubSubSubStoreServices(UnitOfWork);
     SubSubSubSubStoreServices  = new SubSubSubSubStoreServices(UnitOfWork);
     conditionOfItemServices    = new ConditionOfItemServices(UnitOfWork);
     warrantyServices           = new WarrantyServices(UnitOfWork);
     countryServices            = new CountryServices(UnitOfWork);
     principleServices          = new PrincipleServices(UnitOfWork);
 }
コード例 #3
0
 public ProcurementTypeController()
 {
     UnitOfWork           = new UnitOfWork();
     ProcrurementServices = new ProcrurementTypeServices(UnitOfWork);
 }