public LoanViewModel(IEventAggregator eventAggregator, ScreenCoordinator screenCoordinator, ImageService imageService, IApplicationService applicationService, ICustomerService customerService) { EventAggregator = eventAggregator; ScreenCoordinator = screenCoordinator; ImageService = imageService; ApplicationService = applicationService; CustomerService = customerService; DisplayName = "LOAN"; LoanItems = new BindableCollection<TransactionItemViewModel>(); }
public SaleViewModel(ScreenCoordinator screenCoordinator, ImageService imageService, ICustomerService customerService, IProductService productService, IInvoiceService invoiceService, IDiscountService discountService, IEventAggregator eventAggregator) { ScreenCoordinator = screenCoordinator; ImageService = imageService; CustomerService = customerService; ProductService = productService; InvoiceService = invoiceService; DiscountService = discountService; EventAggregator = eventAggregator; DisplayName = "PURCHASE"; Products = new BindableCollection<SaleItemViewModel>(); }