public WeatherForecastController(ICurrentDateServiceFactory currentDateServiceFactory, IUserService userService)
 {
     this.systemDateService = currentDateServiceFactory.GetCurrentDateService();
     this.userService       = userService;
 }
Exemple #2
0
 public HomeController(ICurrentDateServiceFactory currentDateServiceFactory, IUserService userService)
 {
     this.currentDateService = currentDateServiceFactory.GetCurrentDateService();
     this.userService        = userService;
 }
 public IndexModel(ICurrentDateServiceFactory currentDateServiceFactory, IUserService userService)
 {
     this.currentDateService = currentDateServiceFactory.GetCurrentDateService();
     this.userService        = userService;
 }