Example #1
0
 public void InsertOrderStatusMapping(OrderStatusMappingBO orderStatusMapping)
 {
     orderDao.InsertOrderStatusMapping(orderStatusMapping);
 }
Example #2
0
 public void InsertOrderStatusMapping(OrderStatusMappingBO orderStatusMapping)
 {
     using (var context = new InThuDoEntities())
     {
         var entity = Mapper.Map<OrderStatusMappingBO, OrderStatusMapping>(orderStatusMapping);
         context.OrderStatusMappings.Add(entity);
         context.SaveChanges();
     }
 }