public async Task<ActionResult> Update(DocumentTagGetResponse request) { var result = (DocumentTagUpdateResponse)await _mediator.Send(request); if (!result.FoundInRepository) { return NotFound(); } else { return Ok(result); } }
protected override async Task OnInitializedAsync() { DocumentTag = await Http.GetJsonAsync <DocumentTagGetResponse>($"api/DocumentTag/{DocumentTagId}"); }