public ActionResult PutSielAuth([FromBody] LoginSiel login) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var autenticado = scrap.AuthSiel(login.email, login.senha); if (autenticado == true) { return(Ok()); } return(BadRequest()); }