示例#1
0
        // --------------------------------------------------------------

        #region Cliente

        #region Notificações

        #region NotificaOrcamento_Cliente()

        private async void NotificaOrcamento_Cliente()
        {
            // Controller
            OrcamentoController orcamentoController = new OrcamentoController();

            List <Orcamento> _lista = new List <Orcamento>();

            _lista = await orcamentoController.GetListOrcamento_Cliente(idCliente);

            if (_lista.Count > 0)
            {
                lbNotifica_.Text = "Novos orçamentos disponíveis. Verifique agora!";

                lbNotifica_.IsVisible = true;
            }
            else
            {
                lbNotifica__.Text      = "Sem novos orçamentos.";
                lbNotifica__.IsVisible = true;
            }
        }