public void Release() { _timeBoxRepository.Clear(); }
public IList <TimeBox> Save(IList <TimeBox> timeBoxs) { _timeBoxRepository.Clear(); return(_timeBoxRepository.GetTimeBoxesByRange(timeBoxs.Select(o => o.Agent.Id).ToArray(), _watchRange.Start, _watchRange.End)); }