public ActionResult Create(AuctionViewModel auction) { // TODO: Do something with the data! return View(auction); }
public static string Auction(this UrlHelper helper, AuctionViewModel auction) { return helper.Action("Auction", "Auctions", new { key = auction.Key, title = auction.Title }); }