public FoodMaterialAndDishImport(ICrawlerDataStoreFactory crawlerDataStoreBFactory, FoodMaterialManager foodMaterialManager, DishManager dishManager) { _foodMaterialStore = crawlerDataStoreBFactory.Create("FoodMaterial"); _dishDetailsFileStore = crawlerDataStoreBFactory.Create("DishDetails"); _foodMaterialManager = foodMaterialManager; _dishManager = dishManager; }
public FoodMaterialCategoryTest() { _appService = Resolve <IFoodMaterialCategoryAppService>(); _importManager = Resolve <FoodMaterialManager>(); _foodMaterialCategoryRepository = Resolve <IRepository <FoodMaterialCategory, long> >(); }