protected async System.Threading.Tasks.Task Form0Submit(C4G.Models.C4G.Pedido args) { try { var c4GCreatePedidoResult = await C4G.CreatePedido(pedido); DialogService.Close(pedido); } catch (Exception c4GCreatePedidoException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new Pedido!"); } }