public WeatherForecastController(ICurrentDateServiceFactory currentDateServiceFactory, IUserService userService) { this.systemDateService = currentDateServiceFactory.GetCurrentDateService(); this.userService = userService; }
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; }