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