Пример #1
0
        public IActionResult Eliminar([FromBody] Proveedor algoParaEliminar)
        {
            try
            {
                _proveedorRepository.Eliminar(algoParaEliminar);
            }
            catch (Exception ex)
            {
                _logger.LogError(ex.Message);
                return(NotFound());
            }

            return(Ok());
        }