public void AddInvoiceNote() { DLModel.InvoiceID = 19; DLModel.InvoiceNotes = "klkdlsakdlksalkdlsakdlksalfdksa fakfd;sa kfd;ska ;fsafk safksaf; safa"; DLModel.UserID = 1; int invoiceID = _IInvoiceNote.AddInvoiceNoteRecord(DLModel); Assert.IsTrue(true, "Unable to find"); }
public ActionResult saveInvoiceNote(InvoiceNote modelinvoiceNote) { int i = _invoiceNote.AddInvoiceNoteRecord(Mapper.Map <LMGEDI.Core.Data.Model.InvoiceNote>(modelinvoiceNote)); return(Json(i)); }