public Time GetByIdWithDetails(int id) { if (id > 0) { return(_timeRepository.GetByIdWithDetails(id)); } return(null); }