public IActionResult Delete(int?id) { if (id.HasValue) { _billingContext.DeleteCustomer(id.Value); } return(Index()); }