Пример #1
0
        public IActionResult DeleteFactor(int id)
        {
            var buscarFactor = _repositorio.BuscarFactorPorId(id);

            if (buscarFactor == null)
            {
                return(NotFound());
            }
            _repositorio.BorrarFactor(buscarFactor);

            return(NoContent());
        }