public async Task <Room> GetRoomAsync(string id) { var result = await _apiService.GetRoomAsync(id); var mappedResult = _mapper.Map <Room>(result); return(mappedResult); }
private async void WhenGettingAPerson(WebexTeamsRoom apiResponse) { _apiService.GetRoomAsync(_input).Returns(Task.FromResult(apiResponse)); _output = await _subject.GetRoomAsync(_input); }