// ================================================================================== // AJAX Response Methods // ================================================================================== //******************************************************************************* // Invoice Methods //******************************************************************************* public JsonResult AddInvoice(string customerId) { IInvoiceDataService dataService = new InvoiceDataService(); object inserResult = dataService.AddInvoice(invoiceContext, sequenceContext, customerId); return(Json(inserResult, JsonRequestBehavior.AllowGet)); }