Esempio n. 1
0
 public IActionResult Edit(Guid?Id)
 {
     try
     {
         ViewBag.Bills    = _bill.GetBills;
         ViewBag.Products = _product.GetProducts;
         return(View(_billDetail.GetBillDetail(Id)));
     }catch (Exception e)
     {
         return(RedirectToAction("Index", e.Message));
     }
 }
Esempio n. 2
0
 public IActionResult Details(Guid?Id)
 {
     return(View("Details", _billDetail.GetBillDetail(Id)));
 }