public virtual async Task <IActionResult> OnPostAsync() { var dto = new UpdateFileInfoInput { FileName = ViewModel.FileName, }; await _service.UpdateInfoAsync(Id, dto); return(NoContent()); }
public Task <FileInfoDto> UpdateInfoAsync(Guid id, UpdateFileInfoInput input) { return(_service.UpdateInfoAsync(id, input)); }