public IList <Professor> GetAll() { return(_professorRepository.FilterBy(a => a.Id > 0, a => a.Curso).ToList()); }