private void Execute(object parameter)
{
if (CommandInterceptor != null)
{
CommandInterceptor.PreExecute(() => Command.Execute(CommandParameter));
CommandInterceptor.PostExecute(() => Command.Execute(CommandParameter));
}
else
{
Command.Execute(parameter);
}
}
}