Ejemplo n.º 1
0
        public void DeactivateTenant(DeactivateTenantCommand command)
        {
            var tenant = GetExistingTenant(command.TenantId);

            tenant.Deactivate();
            this.unitOfWork.Commit();
        }
 public void DeactivateTenant(DeactivateTenantCommand command)
 {
     var tenant = GetExistingTenant(command.TenantId);
     tenant.Deactivate();
 }