Beispiel #1
0
 public static void Update(InvoiceDto updatedInvoice)
 {
     updatedInvoice.UpdatedDate = DateTime.Now;
     InvoiceDA.Update(updatedInvoice.ToEntity());
 }
Beispiel #2
0
 public static void SetStatus(InvoiceDto updatedInvoice)
 {
     updatedInvoice.UpdatedDate = DateTime.Now;
     InvoiceDA.SetStatus(updatedInvoice.ToEntity());
 }
Beispiel #3
0
 public static void Create(InvoiceDto newinvoice)
 {
     newinvoice.CreatedDate = DateTime.Now;
     newinvoice.DbStatus    = Enums.eDbStatus.Active;
     InvoiceDA.Create(newinvoice.ToEntity());
 }