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)); } }
public IActionResult Details(Guid?Id) { return(View("Details", _billDetail.GetBillDetail(Id))); }