예제 #1
0
        public OrderBusiness()
        {
            cartOrderHelper = new CartOrderHelper();
            orderDatabase   = new OrderDataBase();
            var OrderConfig = new MapperConfiguration(cfg =>
            {
                cfg.CreateMap <CartsVariantDTO, CartsVariantDTO>();
            });

            orderMapper = new Mapper(OrderConfig);
        }
예제 #2
0
 public CartBusiness()
 {
     cartOrderHelper = new CartOrderHelper();
 }