public async Task <StadiumViewModel> Handle(AddStadiumCommand addStadiumCommand, CancellationToken cancellationToken) => await Task.Run(() => { return(ExecuteAsync <StadiumViewModel>(async response => { var team = await _teamRepository.GetTeamByIdAsync(addStadiumCommand.TeamId); var StadiumToAdd = new Stadium { Name = addStadiumCommand.Name, TeamId = addStadiumCommand.TeamId }; var addedStadium = await _stadiumRepository.AddAsync(StadiumToAdd); var StadiumDto = _mapper.Map <StadiumLookupModel>(addedStadium); response.StadiumLookupModel = StadiumDto; })); });