예제 #1
0
 public ProductService(StopifyDbContext context)
 {
     this.context = context;
 }
예제 #2
0
 public OrderService(StopifyDbContext context)
 {
     this.context = context;
 }
예제 #3
0
 private async void SeedData(StopifyDbContext context)
 {
     context.AddRange(GetDummyData());
     await context.SaveChangesAsync();
 }
예제 #4
0
 public ProductService(StopifyDbContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
예제 #5
0
 public ReceiptService(StopifyDbContext context, IOrderService orderService)
 {
     this.context      = context;
     this.orderService = orderService;
 }
예제 #6
0
 public ProductService(StopifyDbContext context, ICloudinaryService cloudinaryService)
 {
     this.context           = context;
     this.cloudinaryService = cloudinaryService;
 }