Exemple #1
0
 public void Delete(SaleInvoiceHeader s)
 {
     _unitOfWork.Repository <SaleInvoiceHeader>().Delete(s);
 }
Exemple #2
0
 public SaleInvoiceHeader Create(SaleInvoiceHeader s)
 {
     s.ObjectState = ObjectState.Added;
     _unitOfWork.Repository <SaleInvoiceHeader>().Insert(s);
     return(s);
 }