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)); }
public bool fazerLogin(string email, string senha) { DadosFisioterapeuta df = new DadosFisioterapeuta(); if (string.IsNullOrEmpty(email) && string.IsNullOrEmpty(senha)) { MensagemDeErro(); } return(df.ProcurarPorUsuario(email, senha)); }