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