public static DataSet AddUser(UserDataKv UserKv) { UserKv.Kv.Set("MethodName", (int)MethodNameE.AddUser); DataSet ds = SocketClient.Instance.Invoke(UserKv.Kv.DataTable.Copy()); return(ds); }
public static DataSet UpdateUser(UserDataKv Kv) { Kv.Kv.Set("MethodName", (int)MethodNameE.UpdateUser); Kv.Kv.Set(StdKv.CurrentUserID, Ap.CurrentUserID); DataSet ds = SocketClient.Instance.Invoke(Kv.Kv.DataTable); return(ds); }
public static DataSet BanUser(UserDataKv KvUserData) { KvUserData.Kv.Set("MethodName", (int)MethodNameE.BanUser); KvUserData.Kv.Set(StdKv.CurrentUserID, Ap.CurrentUserID); KvUserData.StatusIDE = StatusE.Ban; DataSet ds = SocketClient.Instance.Invoke(KvUserData.Kv.DataTable); return(ds); }