示例#1
0
 public LampsController(ILampRepository lampRepo, IImageRepository imageRepo)
 {
     this.lampRepo  = lampRepo;
     this.imageRepo = imageRepo;
 }
示例#2
0
 public Lamp(/*ILampRepository lampRepository*/)
 {
     _lampRepository = new LampRepository(new Repository.Contexts.LampDBContext());
 }
示例#3
0
 public LampService(ILampRepository lampRepository,
                    IOrderRepository orderRepository)
 {
     _lampRepo  = lampRepository;
     _orderRepo = orderRepository;
 }
示例#4
0
 public OrderService(IOrderRepository orderRepo,
                     ILampRepository lampRepository)
 {
     _orderRepo = orderRepo;
     _lampRepo  = lampRepository;
 }