public IActionResult RemoverFundo(Guid id) { var fundo = _repositorio.ObterPorId(id); if (fundo == null) { return(NotFound()); } _repositorio.Remover(fundo); return(Ok()); }
public IActionResult RemoverFundo(Guid id) { var reg = _repo.Obter(id); if (reg == null) { return(NotFound()); } _repo.Remover(reg); return(Ok()); }