public ActionResult MakeSale()
 {
     ProductOperationDetailsViewModel model = new ProductOperationDetailsViewModel();
     model.AvailableProducts = _salesRepo.GetAvailableProducts().Select(product => new SelectListItem() { Text = product.Name, Value = product.Id.ToString() });
     model.AvailableProducts.First().Selected = true;
     return View(model);
 }
 public ActionResult LoadProducts()
 {
     ProductOperationDetailsViewModel model = new ProductOperationDetailsViewModel();
     model.AvailableProducts = _replenishRepo.GetAvailableProducts().Select(product => new SelectListItem() { Text = product.Name, Value = product.Id.ToString() });
     return View(model);
 }