コード例 #1
0
        public string DeleteInfo(string id)
        {
            if (Session[Util.ProjectConfig.ADMINUSER] == null)
            {
                return("");
            }

            Betaccount bet = BetaccountManager.GetBetaccountByID(int.Parse(id))[0];

            //DateTime time = DateTime.Now;
            Betaccountcopy bet1 = new Betaccountcopy();

            bet1.Casino         = bet.Casino;
            bet1.Userid         = bet.Userid;
            bet1.Password       = bet.Password;
            bet1.Agent          = bet.Agent;
            bet1.WebsitePossess = bet.WebsitePossess;
            bet1.SelfPossess    = bet.SelfPossess;
            bet1.Commission     = bet.Commission;
            bet1.Multiple       = bet.Multiple;
            bet1.Zemo           = bet.Zemo;
            bet1.Group1         = bet.Group1;
            bet1.Address        = bet.Address;
            bet1.Address2       = bet.Address2;
            bet1.Cookie         = bet.Cookie;
            bet1.Isquzhi        = bet.Isquzhi;
            bet1.Enable         = bet.Enable;
            bet1.Time           = bet.Time;
            bet1.Operator       = bet.Operator;
            bet1.Operatorip     = bet.Operatorip;
            bet1.Operatortime   = bet.Operatortime;
            BetaccountcopyManager.AddBetaccountcopy(bet1);
            return(BetaccountManager.DeleteBetaccountByPK(id).ToString());
        }
コード例 #2
0
        public string GetCount(string casino, string dali, string id, string enable, string webPoss, string Company)
        {
            if (Session[Util.ProjectConfig.ADMINUSER] == null)
            {
                return("");
            }

            return(BetaccountcopyManager.getCount(casino, dali, id, enable, webPoss, Company));
        }
コード例 #3
0
        public string DeleteInfo(string id)
        {
            if (Session[Util.ProjectConfig.ADMINUSER] == null)
            {
                return("");
            }

            string[] idlist = id.Split(',');
            for (int i = 0; i < idlist.Length; i++)
            {
                BetaccountcopyManager.DeleteBetaccountcopyByPK(idlist[i]);
            }
            return("True");
        }