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