public async Task <IEnumerable <Challenge> > Index() { var result = await _challengeRepository.GetAll(); return(result); }