public ActionResult Logout(string ticket) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.Logout(ticket); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.Logout(ticket); return JResult(ret); }
public ActionResult Register(string account, string password) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.Register(account, password); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.Register(account, password); return JResult(ret); }
public ActionResult UpdateUserInfo(string ticket, string name, int gender) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.UpdateInfo(ticket, name, (Gender)gender); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.UpdateInfo(ticket, name, (Gender)gender); return(JResult(ret)); }
public ActionResult Register(string account, string password) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.Register(account, password); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.Register(account, password); return(JResult(ret)); }
public ActionResult Logout(string ticket) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.Logout(ticket); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.Logout(ticket); return(JResult(ret)); }
public ActionResult UpdateTelphone(string ticket, string telphone) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.UpdateInfo(ticket, telphone); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.UpdateInfo(ticket, telphone); return(JResult(ret)); }
public ActionResult UpdateTelphone(string ticket, string telphone) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.UpdateInfo(ticket, telphone); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.UpdateInfo(ticket, telphone); return JResult(ret); }
public ActionResult UpdateUserInfo(string ticket, string name, int gender) { client = new ServicePassport.ServiceReceptionClient(); var ret = client.UpdateInfo(ticket, name, (Gender)gender); //IServiceAuthentication serv = new ServiceAuthentication(); //ComRet ret = serv.UpdateInfo(ticket, name, (Gender)gender); return JResult(ret); }