public LoadDataController(IFoodService foodService, IWorkEnvironment workEnvironment) { _foodService = foodService; _workEnviroment = workEnvironment; _dataSource = new XDataHelpers.XDataRepository(_foodService, _workEnviroment); _dataSource.ExtractDatas(); }
public LoadDataController(IFoodService foodService, IWorkEnvironment workEnvironment) { _foodService = foodService; _workEnviroment = workEnvironment; _dataSource = new XDataHelpers.XDataRepository(_foodService, _workEnviroment); _dataSource.ExtractDatas(); }