public IEnumerable <TimeRule> Get() { return(timeRepo.GetAll().Select(o => new TimeRule(o))); }
public List <Time> GetAll() { return(_timeRepository.GetAll()); }