public async Task <Course[]> GetAllAsync() { return(await _coursesRepository.GetAllWithCourseMates().ToArrayAsync()); }