Exemplo n.º 1
0
 public Checkout(IItemsRepository itemsRepository, ISpecialOffersRepository specialOffersRepository)
 {
     Items                    = new List <IItem>();
     _itemsRepository         = itemsRepository;
     _specialOffersRepository = specialOffersRepository;
 }
 public SpecialOfferService(ISpecialOffersRepository specialOffersRepository)
 {
     this.specialOffersRepository = specialOffersRepository;
 }
Exemplo n.º 3
0
 public SpecialOffersController(ISpecialOffersRepository repository)
 {
     _specialOffersRepository = repository;
 }