Esempio n. 1
0
        public ActionResult _LotLastBidPartial(int id)
        {
            var bids = BidModel.GetBidByLotId(id);

            if (bids.Count >= 5)
            {
                List <BidModel> tops = bids.Take(5).ToList();
                return(PartialView(tops));
            }
            else
            {
                return(PartialView(bids));
            }
        }
Esempio n. 2
0
        public ActionResult Bids(int id)
        {
            var bids = BidModel.GetBidByLotId(id);

            return(View(bids));
        }