コード例 #1
0
 public HomeController()
 {
     // Replace this with IoC 
     // Can Use TinyIoc, Unity, Ninject, Autofac etc
     lookupService = new LookupService();
     userRepository = new UserRepository();
     pricingOueryRepository = new PricingQueryRepository();
     notificationService = new NotificationService();
 }
コード例 #2
0
 public HomeController()
 {
     // Replace this with IoC
     // Can Use TinyIoc, Unity, Ninject, Autofac etc
     lookupService          = new LookupService();
     userRepository         = new UserRepository();
     pricingOueryRepository = new PricingQueryRepository();
     notificationService    = new NotificationService();
 }