示例#1
0
 public ActionResult GetOrders()
 {
     var orders = _orderService.GetOrders();
     var orderModels = OrderMapper.SerializeOrdersToViewModels(orders);
     return Ok(orderModels);
 }