public ActionResult Delete(Auction auction) { AuctionsService service = new AuctionsService(); service.DeleteAuction(auction); return(RedirectToAction("Index")); }
public ActionResult Delete(Auction auction) { auctionsService.DeleteAuction(auction); return(RedirectToAction("Listing")); }
public ActionResult Delete(Auctions auctions) { AuctionsService.DeleteAuction(auctions); return(RedirectToAction("Index")); }