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