public string getPCs(string username, string password, int netCafeId)
        {
            MobileService service = new MobileService();
            //JavaScriptSerializer json = new JavaScriptSerializer();

            //string output = json.Serialize(service.getPcList(username, password, netCafeId));
            //Newtonsoft.Json.Linq.JObject o = new Newtonsoft.Json.Linq.JObject();
            //string json = JsonConvert.SerializeObject(service.getPcList(username, password, netCafeId));
            List<PCJson> pcs = service.getPcList(username, password, netCafeId);
            //  string json = JsonConvert.SerializeObject(pcs,Formatting.Indented);

            var jsonSerialiser = new JavaScriptSerializer();
            var json = jsonSerialiser.Serialize(pcs);
            return json;
        }
 public string checkAccount(string username, string password)
 {
     MobileService service = new MobileService();
     return service.checkUser(username, password);
 }