public static Invoice InvoiceInsert(Invoice invoice) { invoice = invoice.Save(); FeedService.FeedAdd("Created", invoice); return invoice; }
public static Invoice InvoiceUpdate(Invoice invoice) { invoice = invoice.Save(); FeedService.FeedAdd("Updated", invoice); return invoice; }