public string UpdateInfo(string idNum, string namecn, string nametw, string nameen, string nameth, string nametv, string display, string address, string ord, string ip) { if (Session[Util.ProjectConfig.ADMINUSER] == null) { return(""); } DateTime time = DateTime.Now; Casino webInfo = new Casino(); webInfo.Id = int.Parse(idNum); webInfo.Namecn = namecn; webInfo.Nameen = nameen; webInfo.Nameth = nameth; webInfo.Nametv = nametv; webInfo.Nametw = nametw; webInfo.Display = byte.Parse(display); webInfo.Address = address; webInfo.Path = "none"; webInfo.Ord = byte.Parse(ord); //webInfo.operat = "admin"; //webInfo.operatortime = time; //webInfo.operatorip = ip; return(CasinoManager.UpdateCasino(webInfo).ToString()); }
public string GetDate() { if (Session[Util.ProjectConfig.ADMINUSER] == null) { return(""); } return(CasinoManager.getDataAll()); }