public async Task <IEnumerable <SolutionResource> > GetAllAsync() { var solutions = await _solutionService.ListAsync(); var resources = _mapper .Map <IEnumerable <Solution>, IEnumerable <SolutionResource> >(solutions); return(resources); }