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); }
public WarrantyController() { unitOfWork = new UnitOfWork(); warrantyService = new WarrantyServices(unitOfWork); }