// GET api/rules/abmob1
 public MsgHandlers Get(string from)
 {
     Agent agent1 = new Agent("*****@*****.**", 7);
     List<Agent> agents = new List<Agent> { agent1 };
     MsgHandlers listOfAgents = new MsgHandlers(agents);
     return listOfAgents;
     throw new HttpResponseException(HttpStatusCode.NotFound);
 }
 // GET api/rules/abmob1
 public MsgHandlers Get(string from)
 {
     Agent agent1 = new Agent("*****@*****.**", 7);
     Agent agent2 = new Agent("*****@*****.**", 7);
     List<Agent> agents = new List<Agent> { agent1 , agent2};
     MsgHandlers listOfAgents = new MsgHandlers(agents);
     return listOfAgents;
     throw new HttpResponseException(HttpStatusCode.NotFound);
 }