public virtual List <Movimento> getMovimento(long?Id = -1, bool NoTracking = false) { try { if (Id == -1) { return(_MovimentoRepositorio.GetTodos().ToList()); } else { if (NoTracking) { return(_MovimentoRepositorio.GetNT(p => p.Id == Id).ToList()); } else { return(_MovimentoRepositorio.Get(p => p.Id == Id).ToList()); } } } catch (Exception ex) { throw ex; } }