Exemplo n.º 1
0
 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>();
 }
Exemplo n.º 2
0
        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>();
        }