Esempio n. 1
0
 public async Task ResetTenantSpecificFeatures(EntityDto input)
 {
     await TenantManager.ResetAllFeaturesAsync(input.Id);
 }
Esempio n. 2
0
        public async Task DeleteTenant(EntityDto input)
        {
            var tenant = await TenantManager.GetByIdAsync(input.Id);

            await TenantManager.DeleteAsync(tenant);
        }
Esempio n. 3
0
 public async Task UpdateTenantFeatures(UpdateTenantFeaturesInput input)
 {
     await TenantManager.SetFeatureValuesAsync(input.Id, input.FeatureValues.Select(fv => new NameValue(fv.Name, fv.Value)).ToArray());
 }