public async Task <IEnumerable <ObjectiveViewModel> > GetAsync() { IEnumerable <ObjectiveDTO> objectiveDtos = await objectiveService.GetObjectivesAsync(); var objectives = mapper.Map <IEnumerable <ObjectiveDTO>, List <ObjectiveViewModel> >(objectiveDtos); return(objectives); }