public void Delete(Domain.TWOTrack woTrack) { _woTrackRepository.DbContext.BeginTransaction(); _woTrackRepository.Delete(woTrack); _woTrackRepository.DbContext.CommitTransaction(); }
public void Insert(Domain.TWOTrack woTrack) { _woTrackRepository.DbContext.BeginTransaction(); _woTrackRepository.Save(woTrack); _woTrackRepository.DbContext.CommitTransaction(); }