Exemple #1
0
 public RawMaterialsController()
 {
     unitOfWork          = new UnitOfWork();
     RawMaterialServices = new RawMaterialServices(unitOfWork);
     ItemServices        = new ItemServices(unitOfWork);
     ItemElementServices = new ItemElementServices(unitOfWork);
 }
 public ItemElementController()
 {
     unitOfWork                   = new UnitOfWork();
     itemElementService           = new ItemElementServices(unitOfWork);
     categoryServices             = new CategoryServices(unitOfWork);
     subCategoryServices          = new SubCategoryServices(unitOfWork);
     subSubCategoryServices       = new SubSubCategoryServices(unitOfWork);
     subSubSubCategoryServices    = new SubSubSubCategoryServices(unitOfWork);
     subSubSubSubCategoryServices = new SubSubSubSubCategoryServices(unitOfWork);
 }