Esempio n. 1
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);
 }
Esempio n. 2
0
 public PrincipleController()
 {
     unitOfWork        = new UnitOfWork();
     principleServices = new PrincipleServices(unitOfWork);
     CountryServices   = new CountryServices(unitOfWork);
 }