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(); }