示例#1
0
        public ActionResult RaidInfo()
        {
            RaidSellDetailViewModel result = new RaidSellDetailViewModel();
            BossHelper bh=new BossHelper();
            result.SellDetail = bh.GetBossData("翡翠夢魘");
            result.RaidName = "翡翠夢魘";

            return View("RaidInfo",result);
        }
示例#2
0
        public ActionResult SaveSellDetail(string selldetail)
        {
            RaidSellDetailViewModel testdata = JsonConvert.DeserializeObject<RaidSellDetailViewModel>(selldetail);
            BossHelper bh = new BossHelper();
            bh.SaveDetail(testdata);

            return View("GAssistant");
            //return View("GAssistant",result.ToString());
        }
示例#3
0
        public ActionResult GetInitGForm(DateTime? raidDate,string raidName)
        {
            if (raidDate == null)
            {
                raidDate=DateTime.Now;
            }
            if (string.IsNullOrEmpty(raidName))
            {

            }

            RaidSellDetailViewModel viewModel=new RaidSellDetailViewModel();
            BossHelper bh = new BossHelper();

            viewModel.RaidName = raidName;
            viewModel.AttendDate = raidDate.Value;
            viewModel.SellDetail = bh.InsertTempBoss();

            return View("RaidForm", viewModel);
        }