public PluginCommandResponseMessage Execute(string _, UserDTO user = null)
{
bool wasNoProfile = _pluginContext.ProfileName.IsEmpty;
var c = new AddOrUpdateProfileCommand(_bus, _profileCollection, _pluginContext, _pluginMetadata);
var result = c.Execute(BuildProfileDto().Serialize());
if (result.PluginCommandStatus == PluginCommandStatus.Succeed && wasNoProfile)
{
_bus.SendLocalWithContext(new ProfileName(SearcherProfile.Name), _pluginContext.AccountName, new ExecutePluginCommandCommand
{
CommandName = SetEnableForTp2.CommandName,
Arguments = bool.TrueString
});
}
return result;
}