예제 #1
0
 public async Task <IActionResult> DeleteConfirmed(int id)
 => await CRUDHelper <AuctionItemsController, AuctionItem> .Deletor(this, _context, nameof(Index), id);
예제 #2
0
 public async Task <IActionResult> Edit(int id, [Bind("UId,Name,SetPrice,Quantity,Description")] AuctionItem auctionItem)
 => await CRUDHelper <AuctionItemsController, AuctionItem> .Editor(this, auctionItem, _context, ModelState.IsValid, nameof(Index), id);
예제 #3
0
 public async Task <IActionResult> Delete(int?id)
 => await CRUDHelper <AuctionItemsController, AuctionItem> .DeleteView(this, _context, id);
예제 #4
0
 public async Task <IActionResult> Details(int?id) => await CRUDHelper <AuctionItemsController, AuctionItem> .FindDetails(this, _context, id);