Exemple #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);
        }
Exemple #3
0
 public async Task GetAsync()
 {
     (await _todoAppService.GetAsync(42).ConfigureAwait(false)).ShouldBe("Compat-42-1.0");
 }
Exemple #4
0
 public async Task GetAsync()
 {
     (await _todoAppService.GetAsync(42)).ShouldBe("42-2.0");
 }