public IActionResult Cancella([FromQuery] string cf) { try { repository.Cancella(cf); } catch (Exception) { return(BadRequest()); } return(Ok("Cancellato")); }