Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="templateInvoice"></param>
 public int UpdateListReleaseInvoices(TemplateInvoice templateInvoice)
 {
     _templateInvoice.Update(templateInvoice);
     return(Context.SaveChanges());
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="templateInvoice"></param>
 public int CreateListReleaseInvoices(TemplateInvoice templateInvoice)
 {
     _templateInvoice.Create(templateInvoice);
     Context.SaveChanges();
     return(templateInvoice.Id);
 }