public async Task <IActionResult> hasRevision(int user, int docs) { (bool result, string msg) = await Carga.hasRevision(user, docs); if (msg != "OK") { return(Ok(Json(msg))); } return(Ok(Json(result))); }