public EditablePresentViewModel(IPresentRepository presentRepository, Present present, PresentList list) { _presentRepository = presentRepository; _present = present; _list = list; SaveCommand = new RelayCommand(SavePresent); }
public PresentListService() { this.presentListRepository = new PresentListRepository(); this.presentRepository = new PresentRepository(); this.productsRepository = new ProductsRepository(); this.dedicatoryRepository = new DedicatoryRepository(); this.productsService = new ProductsService(); }
public VotingManager(IVotingRepository votingRepository, IEmployeeRepository employeeRepository, IPresentRepository presentRepository) { this.votingRepository = votingRepository; this.employeeRepository = employeeRepository; this.presentRepository = presentRepository; }