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()); }
public BillInfoController(IBillInfoService billInfoService, IBillInfoModelService billInfoModelService) { this.billInfoService = billInfoService; this.billInfoModelService = billInfoModelService; }
public BillController(IMapper mapper, IBillInfoService billInfoService) { _mapper = mapper; _billInfoService = billInfoService; }
public BillInfoModelService(IBillInfoService billInfoService, ICompanyService companyService, IProductService productService) { this.billInfoService = billInfoService; this.companyService = companyService; this.productService = productService; }
void InitData() { this._serviceBill = new BillService(new BillRepository()); this._serviceBillInfo = new BillInfoService(new BillInfoRepository()); }