public Task <CommentDto> GetAsync(Guid id) { return(_service.GetAsync(id)); }
public virtual async Task OnGetAsync() { var dto = await _service.GetAsync(Id); ViewModel = ObjectMapper.Map <CommentDto, CreateEditCommentViewModel>(dto); }