예제 #1
0
        public IActionResult GetOrders()
        {
            var model = mapper.Map <IList <OrderInfo> >(orderService.GetAllOrders());

            return(Ok(model));
        }