public IActionResult Edit([FromBody] ProveedorViewModel proveedorViewModel)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    var proveedor = MapperHelper <ProveedorViewModel, Proveedor> .ObjectTo(proveedorViewModel);

                    _serv.Edit(proveedor);
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
                return(BadRequest());
            }

            return(Ok(true));
        }