Example #1
0
        public ActionResult ReturnInfo(long id, string bit)
        {
            Models.KeywordBidSet bitSet = new Models.KeywordBidSet(id);
            double bit1 = bitSet.Bit;

            double.TryParse(bit.Replace(".", ","), NumberStyles.Number, CultureInfo.CreateSpecificCulture("ru-Ru"), out bit1);
            if (bit1 == bitSet.Bit)
            {
                Redirect("/Home/About");
            }
            bitSet.Bit = bit1;
            return(Redirect("/Home/About"));
        }
Example #2
0
 public PartialViewResult ReturnInfo(long id)
 {
     Models.KeywordBidSet bitSet = new Models.KeywordBidSet(id);
     return(PartialView("BitSet", bitSet));
 }