예제 #1
0
 public static Model.OrderList MapOrderLists(Domain.Model.OrderList orderList)
 {
     return(new Model.OrderList
     {
         LstId = orderList.LstId,
         LstOrderId = orderList.LstOrderId,
         LstProdId = orderList.LstProdId
     });
 }
예제 #2
0
 public void AddOrderList(Domain.Model.OrderList orderList)
 {
     Model.OrderList entity = Mapper.MapOrderLists(orderList);
     _dbContext.Add(entity);
 }