Esempio n. 1
0
        public async Task <IActionResult> OrderDetail(int id)
        {
            var data = await _orderSerivce.getOrder(id);

            return(View(data));
        }
Esempio n. 2
0
        public async Task <IActionResult> Find(int id)
        {
            var model = await _orderSerivce.getOrder(id);

            return(new OkObjectResult(model));
        }