protected async Task <bool> ThrowExceptionAsync(Exception e) { await PageControl.PopModalAsync(); return(TaskCompletionSource.TrySetException(e)); }
protected async Task <bool> SetResultAsync(TResponse response) { await PageControl.PopModalAsync(); return(TaskCompletionSource.TrySetResult(response)); }