public ActionResult Delete(int InvoiceId = 0) { if (InvoiceId == 0) { return(Redirect("/Error/Index?error=400")); } else { invoice = patientBusinessLayer.GetInvoiceByInvoiceId(InvoiceId); } return(View(invoice)); }
public ActionResult Delete(int InvoiceId = 0) { if (InvoiceId == 0) { return(Redirect("/Error/Index?error=400")); } else { invoice = patientBusinessLayer.GetInvoiceByInvoiceId(InvoiceId); } return(View(invoice)); }