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")); }
public PartialViewResult ReturnInfo(long id) { Models.KeywordBidSet bitSet = new Models.KeywordBidSet(id); return(PartialView("BitSet", bitSet)); }