コード例 #1
0
        public async Task <Room> GetRoomAsync(string id)
        {
            var result = await _apiService.GetRoomAsync(id);

            var mappedResult = _mapper.Map <Room>(result);

            return(mappedResult);
        }
コード例 #2
0
 private async void WhenGettingAPerson(WebexTeamsRoom apiResponse)
 {
     _apiService.GetRoomAsync(_input).Returns(Task.FromResult(apiResponse));
     _output = await _subject.GetRoomAsync(_input);
 }