public virtual async Task <SaasTenantDto> UpdateAsync(Guid id, SaasTenantUpdateDto input)
        {
            var tenant = await TenantRepository.GetAsync(id);

            await TenantManager.ChangeNameAsync(tenant, input.Name);

            tenant.SetEdition(input.EditionId);
            await TenantRepository.UpdateAsync(tenant);

            return(ObjectMapper.Map <SaasTenant, SaasTenantDto>(tenant));
        }
 public virtual Task <SaasTenantDto> UpdateAsync(Guid id, SaasTenantUpdateDto input)
 {
     return(TenantAppService.UpdateAsync(id, input));
 }