Пример #1
0
        public async Task <IActionResult> OrderDetail(int id)
        {
            var data = await _orderSerivce.getOrder(id);

            return(View(data));
        }
Пример #2
0
        public async Task <IActionResult> Find(int id)
        {
            var model = await _orderSerivce.getOrder(id);

            return(new OkObjectResult(model));
        }