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); }
// GET: api/TouchLess/5 // public string Get(int id) List <Activtys> GetAllActivtys() { // return "value"; return(ActivtyRegistration.getInstance().getAllActives()); }
//GET api/activtyretrive public List <Activtys> GetAllActivtys() { return(ActivtyRegistration.getInstance().getAllActives()); }