コード例 #1
0
        public async Task GetAsync()
        {
            // Act
            var result = await _tagAppService.GetAsync(Guid.Parse("58af2a8d-133d-456c-aff0-1cfa504ed7b8"));

            // Assert
            result.ShouldNotBeNull();
            result.Id.ShouldBe(Guid.Parse("58af2a8d-133d-456c-aff0-1cfa504ed7b8"));
        }
コード例 #2
0
        public async Task OnGetAsync()
        {
            var tag = await _tagAppService.GetAsync(Id);

            Tag = ObjectMapper.Map <TagDto, TagUpdateDto>(tag);
        }