public SaleQuotationHeaderCharge Create(SaleQuotationHeaderCharge pt) { pt.ObjectState = ObjectState.Added; _unitOfWork.Repository <SaleQuotationHeaderCharge>().Insert(pt); return(pt); }
public void Update(SaleQuotationHeaderCharge pt) { pt.ObjectState = ObjectState.Modified; _unitOfWork.Repository <SaleQuotationHeaderCharge>().Update(pt); }
public SaleQuotationHeaderCharge Add(SaleQuotationHeaderCharge pt) { _unitOfWork.Repository <SaleQuotationHeaderCharge>().Insert(pt); return(pt); }
public void Delete(SaleQuotationHeaderCharge pt) { _unitOfWork.Repository <SaleQuotationHeaderCharge>().Delete(pt); }