public ActionResult Customers()
        {
            var customers = _salesService.GetCustomers();
            var model     = new Models.ViewModels.Sales.Customers();

            foreach (var customer in customers)
            {
                model.CustomerListLines.Add(new Models.ViewModels.Sales.CustomerListLine()
                {
                    Id      = customer.Id,
                    Name    = customer.Party.Name,
                    Balance = customer.Balance
                });
            }
            return(View(model));
        }
 public ActionResult Customers()
 {
     var customers = _salesService.GetCustomers();
     var model = new Models.ViewModels.Sales.Customers();
     foreach(var customer in customers)
     {
         model.CustomerListLines.Add(new Models.ViewModels.Sales.CustomerListLine()
         {
             Id = customer.Id,
             Name = customer.Name,
             //FirstName = customer.FirstName,
             //LastName = customer.LastName,
             Balance = customer.Balance
         });
     }
     return View(model);
 }