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