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