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