示例#1
0
        // 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));
        }
示例#2
0
        public async Task <IActionResult> Index(int?id)
        {
            var inf = await _iOrderDetailMapper.BlGetById(id);

            return(View(inf));
        }