/// <summary>
 /// This is the overloaded view model constructor.
 /// It takes the customer selected and the previous view model to repopulate some of the variables in this new instance.
 /// </summary>
 public AddViewModel(Customer _customer, AddViewModel prevVM)
 {
     items = prevVM.items;
     transactionOverview            = prevVM.transactionOverview;
     transactionOverview.Customer   = _customer;
     transactionOverview.CustomerId = _customer.CustomerId;
 }
 /// <summary>
 /// This is the overloaded view model constructor.
 /// It takes the item to be added and the previous view model to repopulate some of the variables in this new instance.
 /// </summary>
 public AddViewModel(Item _item, AddViewModel prevVM)
 {
     items = prevVM.items;
     items.Add(_item);
     transactionOverview             = prevVM.transactionOverview;
     transactionOverview.TotalValue += _item.ItemPrice;
 }