//public virtual Invoice Invoice { get; set; } public OrderModel() { _orderManagementService = new OrderManagementService(); _itemManagementService = new ItemManagementService(); _invoiceManagementService = new InvoiceManagementService(); //Invoice = new Invoice(); //Items = new List<Item>(); }
public DashboardViewModel() { _orderManagementService = new OrderManagementService(); _itemManagementService = new ItemManagementService(); _invoiceManagementService = new InvoiceManagementService(); OrderCount = _orderManagementService.GetAllOrder(); ItemCount = _itemManagementService.GetAllItem(); TotalInvoiceCreated = _invoiceManagementService.GetAllInvoice(); TotalAmount = _invoiceManagementService.TotalAmount(); }
public OrderListModel() { _orderManagementService = new OrderManagementService(); _itemManagementService = new ItemManagementService(); _invoiceManagementService = new InvoiceManagementService(); }
public InvoiceModel() { _invoiceManagementService = new InvoiceManagementService(); }