public ItemController() { unitOfWork = new UnitOfWork(); itemServices = new ItemServices(unitOfWork); categoryServices = new CategoryServices(unitOfWork); subCategoryServices = new SubCategoryServices(unitOfWork); subSubCategoryServices = new SubSubCategoryServices(unitOfWork); subSubSubCategoryServices = new SubSubSubCategoryServices(unitOfWork); subSubSubSubCategoryServices = new SubSubSubSubCategoryServices(unitOfWork); companyServices = new CompanyServices(unitOfWork); unitServices = new UnitServices(unitOfWork); storeServices = new StoreServices(unitOfWork); subStoreServices = new SubStoreServices(unitOfWork); subSubStoreServices = new SubSubStoreServices(unitOfWork); subSubSubStoreServices = new SubSubSubStoreServices(unitOfWork); subSubSubSubStoreServices = new SubSubSubSubStoreServices(unitOfWork); MethodServices = new MethodServices(unitOfWork); brandServices = new BrandServices(unitOfWork); modelServices = new ModelServices(unitOfWork); }
public MethodController() { unitOfWork = new UnitOfWork(); methodServices = new MethodServices(unitOfWork); }