public bool ValidarEstudanteNoDb() { bool _result = false; try { string[] list = db.ConsultaSolicitacao(); if (list[0] == "PAF" && list[1] == "PDBF" && list[2] == "PDBF") { _result = true; } else { } } catch { } return(_result); }
public bool ValidarSolicReproNoDb() { bool _result = false; try { string[] list = db.ConsultaSolicitacao(); if (list[0] == "RIES" && list[1] == "C" && list[2] == "R") { _result = true; db.AlterarStatus(); } else { } } catch { } return(_result); }