示例#1
0
 public async Task GetAsync()
 {
     (await _todoAppService.GetAsync(42)).ShouldBe("Compat-42-1.0");
 }
        public virtual async Task OnGetAsync()
        {
            var dto = await _service.GetAsync(Id);

            ViewModel = ObjectMapper.Map <TodoDto, CreateEditTodoViewModel>(dto);
        }
示例#3
0
 public async Task GetAsync()
 {
     (await _todoAppService.GetAsync(42).ConfigureAwait(false)).ShouldBe("Compat-42-1.0");
 }
示例#4
0
 public async Task GetAsync()
 {
     (await _todoAppService.GetAsync(42)).ShouldBe("42-2.0");
 }