Esempio n. 1
0
        public async Task<ActionResult> Update(DocumentTagGetResponse request)
        {
            var result = (DocumentTagUpdateResponse)await _mediator.Send(request);
            if (!result.FoundInRepository)
            {
                return NotFound();
            }
            else
            {
                return Ok(result);
            }

        }
Esempio n. 2
0
 protected override async Task OnInitializedAsync()
 {
     DocumentTag = await Http.GetJsonAsync <DocumentTagGetResponse>($"api/DocumentTag/{DocumentTagId}");
 }