public IActionResult ExisteCodigoVendedor([FromODataUri] string codigo)
        {
            var service = new VendedorService(this.db, this.configuration);

            try
            {
                return(Ok(service.existeCodigo(codigo)));
            }
            catch (Exception)
            {
                return(Ok(false));
            }
        }