public TenantControllerBase(AppTenant appTenant, IAppTenantDbContext appTenantContext, ICloudOfficeDbContext cloudOfficeContext) { if (appTenant == null) { throw new ArgumentNullException(nameof(appTenant)); } if (appTenantContext == null) { throw new ArgumentNullException(nameof(appTenantContext)); } if (cloudOfficeContext == null) { throw new ArgumentNullException(nameof(cloudOfficeContext)); } _appTenantContext = appTenantContext; _cloudOfficeContext = cloudOfficeContext; CurrentTenant = appTenant; }
public RolesController(AppTenant appTenant, ILogger <TenantController> logger, IAppTenantDbContext appTenantContext, ICloudOfficeDbContext cloudOfficeContext) : base(appTenant, appTenantContext, cloudOfficeContext) { _logger = logger; }
public AccountController(ILogger <AccountController> logger, AppTenant appTenant, IAppTenantDbContext appTenantContext, ICloudOfficeDbContext cloudOfficeContext) : base(appTenant, appTenantContext, cloudOfficeContext) { this._logger = logger; }
public HomeController(IHostingEnvironment env, AppTenant appTenant, IAppTenantDbContext appTenantContext, ICloudOfficeDbContext cloudOfficeContext) : base(appTenant, appTenantContext, cloudOfficeContext) { _env = env; }
public HomeController(AppTenant appTenant, IAppTenantDbContext appTenantContext, ICloudOfficeDbContext cloudOfficeContext) : base(appTenant, appTenantContext, cloudOfficeContext) { }