void initData() { this._serviceProduct = new ProductService(new ProductRepository()); this._serviceBillInfo = new BillInfoService(new BillInfoRepository()); this._serviceBill = new BillService(new BillRepository()); this._serviceTableFood = new TableFoodService(new TableFoodRepository()); }
void InitData() { this._serviceTable = new TableFoodService(new TableFoodRepository()); this._serviceBillInfo = new BillInfoService(new BillInfoRepository()); this._serviceBill = new BillService(new BillRepository()); this._serviceCategory = new ProductCategoryService(new ProductCategoryRepository()); this._serviceProduct = new ProductService(new ProductRepository()); }
void Init() { this._serviceBill = new BillService(new BillRepository()); this._serviceBillInfo = new BillInfoService(new BillInfoRepository()); this._serviceTableFood = new TableFoodService(new TableFoodRepository()); }