private void RegistrarCommands()
        {
            FotosCommand = new Command(() =>
            {
                MessagingCenter.Send <Atendimento>(Atendimento, "MostrarFotos");
            });

            PesquisarCommand = new Command(() =>
            {
                MessagingCenter.Send <Atendimento>(Atendimento, "MostrarPesquisaCliente");
            });
            GravarCommand = new Command(async() =>
            {
                //if (Atendimento.AtendimentoID != null) //Comentado por enquanto
                //Atendimento.NotificarListView = true;

                if (Atendimento.AtendimentoID == null)
                {
                    Atendimento.AtendimentoID = 0;
                }

                Atendimento.ClienteID = Atendimento.Cliente.Id;
                await cService.PostAtendimentoAsync(Atendimento);
                MessagingCenter.Send <string>("Dados salvo com sucesso.", "InformacaoCRUD");
            }
                                        , () =>
            {
                return((this.Atendimento.Cliente != null) && !string.IsNullOrEmpty(this.Atendimento.Cliente.Nome) &&
                       !string.IsNullOrEmpty(this.Atendimento.Veiculo) &&
                       (this.Atendimento.DataHoraPrometida > this.Atendimento.DataHoraChegada));
            }
                                        );
        }