Exemple #1
0
        public virtual async Task ChangeNameAsync(TMTTenant tenant, string name)
        {
            Check.NotNull(tenant, nameof(tenant));
            Check.NotNull(name, nameof(name));

            await ValidateNameAsync(name, tenant.Id);

            tenant.SetName(name);
        }