예제 #1
0
 public void Update(OrderItem item)
 {
     _orderRepository.Edit(item.ToEntity());
 }
예제 #2
0
 public OrderItem Add(OrderItem item)
 {
     var entity = _orderRepository.Add(item.ToEntity());
     return entity.ToItem();
 }