コード例 #1
0
        public bool fazerLogin(string email, string senha)
        {
            DadosFisioterapeuta df = new DadosFisioterapeuta();

            if (string.IsNullOrEmpty(email) && string.IsNullOrEmpty(senha))
            {
                throw new Exception("Email e Senha Vazios");
            }
            return(df.ProcurarPorUsuario(email, senha));
        }
コード例 #2
0
        public bool fazerLogin(string email, string senha)
        {
            DadosFisioterapeuta df = new DadosFisioterapeuta();

            if (string.IsNullOrEmpty(email) && string.IsNullOrEmpty(senha))
            {
                MensagemDeErro();
            }
            return(df.ProcurarPorUsuario(email, senha));
        }