public ActionResult GetInforFilterPrice(int FilterID) { FilterPrice Infor = db.FilterPrices.Where(x => x.FilterID == FilterID).FirstOrDefault(); var rslt = new { priceFrom = Infor.PriceFrom, priceTo = Infor.PriceTo }; return(Json(rslt, JsonRequestBehavior.AllowGet)); }
private IQueryable <Game> FilterByPrice(IQueryable <Game> gamesQuery, FilterPrice price) => price switch {