// GET: OrderDetails/Delete/5 public async Task <IActionResult> Delete(int?id) { if (id == null) { return(NotFound()); } var orderDetail = await _orderDetailMapper.BlGetById(id); if (orderDetail == null) { return(NotFound()); } return(View(orderDetail)); }
public async Task <IActionResult> Index(int?id) { var inf = await _iOrderDetailMapper.BlGetById(id); return(View(inf)); }