Exemplo n.º 1
0
 public List<Command> GetAllCommands()
 {
     CommandQuery cq = new CommandQuery(context);
     return cq.GetAll().ToList();
 }
Exemplo n.º 2
0
 public Command GetCommand(int id)
 {
     CommandQuery cq = new CommandQuery(context);
     return cq.GetById(id).FirstOrDefault();
 }