public IActionResult Update(string id, Campos campoIn)
        {
            var campo = _campoService.Get(id);

            if (campo == null)
            {
                return(NotFound());
            }

            _campoService.Update(id, campoIn);

            return(NoContent());
        }
 public ActionResult Update(CampoUpdateDto model, int id, string tipo, int numero)
 {
     camposervice.Update(model, tipo, numero, id);
     return(NoContent());
 }