public ActivtyRegistrationReply registerAtivty(Activtys regd)
        {
            Console.WriteLine("In registerActivty");
            ActivtyRegistrationReply regreply = new ActivtyRegistrationReply();

            ActivtyRegistration.getInstance().Add(regd);
            regreply.Type          = regd.Type;
            regreply.OUTAgentMACID = regd.OUTAgentMACID;
            //   Activtys aa=new Activtys()

            //regreply.RegistrationStatus = "Successful";

            return(regreply);
        }
Beispiel #2
0
 // GET: api/TouchLess/5
 // public string Get(int id)
 List <Activtys> GetAllActivtys()
 {
     //  return "value";
     return(ActivtyRegistration.getInstance().getAllActives());
 }
Beispiel #3
0
        //GET api/activtyretrive

        public List <Activtys> GetAllActivtys()
        {
            return(ActivtyRegistration.getInstance().getAllActives());
        }