public ActionResult PutCagedAuth([FromBody] LoginCaged login) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var autenticado = scrap.AuthCaged(login.cpf, login.senha); if (autenticado == true) { return(Ok()); } return(BadRequest()); }