public async Task <IEnumerable <ApiPerStoryData> > GetAsync() { IEnumerable <perStoryData> allStoryPointData = await _service.GetAllStoryPointDataAsync(); return(allStoryPointData.Select(p => new ApiPerStoryData { Id = p.Id, Associate = p.Associate, StoryNumber = p.StoryNumber, Release = p.Release, StoryPoints = p.StoryPoints })); }
public async Task <IEnumerable <ApiAssociatePerReleaseData> > GetAsync() { IEnumerable <perStoryData> allStoryPointData = await _service.GetAllStoryPointDataAsync(); throw new NotImplementedException(); //return allStoryPointData.Select(p => new ApiPerStoryData //{ // Id = p.Id, // Associate = p.Associate, // StoryNumber = p.StoryNumber, // Release = p.Release, // StoryPoints = p.StoryPoints //}); }