public ActionResult Edit(int ID) { var auction = service.EditAuction(ID); return(PartialView(auction)); }
// Edit public void EditAuction(int id, decimal bid, int status, decimal currentPrice, decimal maxPrice, DateTime endDate, string title, string description, string category) { IUseAuctionService aus = new AuctionService(); aus.EditAuction(id, bid, status, currentPrice, maxPrice, endDate, title, description, category); }