コード例 #1
0
        public ActionResult Delete(Auction auction)
        {
            AuctionService service = new AuctionService();

            service.DeleteAuction(auction);
            return(RedirectToAction("Index"));
        }
コード例 #2
0
 public ActionResult Delete(Auction auction)
 {
     auctionService.DeleteAuction(auction);
     return(RedirectToAction("Listing"));
 }
        public ActionResult Delete(tbl_Auction auction)
        {
            service.DeleteAuction(auction);

            return(View(auction));
        }
コード例 #4
0
        public void DeleteAuction(int auctionId)
        {
            AuctionService auctionService = new AuctionService();

            auctionService.DeleteAuction(auctionId);
        }
コード例 #5
0
        // Delete
        public void DeleteAuction(int id)
        {
            IUseAuctionService aus = new AuctionService();

            aus.DeleteAuction(id);
        }