public ActionResult Index(AdHocSprintListingRequest spec) { var request = mapper.Map <ListSprintsRequest>(spec); var sprints = lister.GetSprints(request); var model = GetModel(spec, sprints); return(View(model)); }
public IList <SprintSummaryDto> Get() { var sprints = lister.GetSprints(new ListSprintsRequest()); return(sprints.Select(x => mapper.Value.Map <SprintSummaryDto>(x)).ToList()); }
void AddAvailableSprints(IHasAvailableSprints model) { model.AvailableSprints = sprintLister.GetSprints(new ListSprintsRequest()) .Select(mapper.Map <SprintSummaryDto>) .ToList(); }