public void Create(Invoice invoice) { if (ModelState.IsValid) { patientBusinessLayer.createInvoice(invoice); } }