public List <Time> GetByIds(List <int> ids) { if (ids != null) { return(_timeRepository.GetByIds(ids)); } return(new List <Time>()); }