public MiscController(ITimeZoneServices timeZoneServices)
 {
     _timeZoneServices = timeZoneServices ?? throw new NullReferenceException(nameof(timeZoneServices));
 }
Beispiel #2
0
 public DeploymentInstanceController(IDeploymentInstanceManager instanceManager, ITimeZoneServices timeZoneServices, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _instanceManager  = instanceManager ?? throw new ArgumentNullException(nameof(instanceManager));;
     _timeZoneServices = timeZoneServices ?? throw new ArgumentNullException(nameof(timeZoneServices));
 }