Exemple #1
0
 public DealController(IDealProvider dealProvider, IMapper mapper, IDealObjectProvider dealObjectProvider, IUserProvider userProvider, IRegionProvider regionProvider)
 {
     _dealProvider       = dealProvider;
     _mapper             = mapper;
     _dealObjectProvider = dealObjectProvider;
     _userProvider       = userProvider;
     _regionProvider     = regionProvider;
 }
Exemple #2
0
 public DealsController(IDealProvider dealProvider)
 {
     _dealProvider = dealProvider;
 }
 public void GivenADealListThatContainsDeals()
 {
     provider = new StaticDealProvider();
 }