public async Task <ActionResult> Confirm(int biddingId) { var biddings = await _biddingProvider.GetBiddings(-5); var currentBidding = biddings.Where(x => x.BiddingId == biddingId).FirstOrDefault(); return(PartialView("_Confirmation", currentBidding)); }
public async Task <ActionResult> GetBiddings([DataSourceRequest] DataSourceRequest request, int typeId) { var biddings = await _biddingProvider.GetBiddings(typeId); return(Json(biddings.ToDataSourceResult(request))); }