private void SendSelectedProductToParent()
        {
            var simpleSaleLine = new SimpleSaleLineViewModel
            {
                ProductBaseId = selectedProduct.ProductBaseId,
                ProductName   = selectedProduct.Name,
                Unit          = Unit,
                Quantity      = Quantity,
                UnitPrice     = UnitPrice,
                LinePrice     = LineOrderPrice
            };

            PropagateMessage(simpleSaleLine, Constants.Token8);
        }
Esempio n. 2
0
 protected void PropagateMessage(SimpleSaleLineViewModel message, string token)
 {
     Messenger.Default.Send(message, token);
 }
Esempio n. 3
0
 private void AddProductToSaleList(SimpleSaleLineViewModel simpleSaleLineViewModel)
 {
     SaleList.Add(simpleSaleLineViewModel);
 }