public ActionResult AddBillLine(int id)
        {
            var bill  = _billService.GetById(id);
            var model = new BillLineAddViewModel();

            model.BillId = bill.BillId;
            return(View(model));
        }
 public ActionResult AddBillLine(BillLineAddViewModel model)
 {
     _billLineService.Create(new BillLine
     {
         BillId      = model.BillId,
         Description = model.Description,
         Price       = model.Price,
         UnitPrice   = model.UnitPrice,
         Quantity    = model.Quantity,
     });
     return(Redirect("/Bill/BillView/" + model.BillId));
 }