public static int GetEggChuiCount(int userid) { bizCardRand biz = new bizCardRand(); DataSet ds = biz.GetEggChuiCount(userid); if (MainFunc.IsDataSetNoNull(ds)) { return MainFunc.GetInteger(ds.Tables[0].Rows[0]["HammerCount"]); } return 0; }
public static DataSet EggBreak(int userid,string username) { bizCardRand biz = new bizCardRand(); return biz.EggBreak(userid, username); }