public void EnablePlugin(PluginDto item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item", "The package cannot be null");
            }

            Plugin plugin = this.Session.Load<Plugin>(item.Id);

            if (plugin == null)
            {
                throw new DexterPluginException("Unable to find the specified package", item.Title);
            }

            plugin.Enabled = true;

            this.Session.Store(plugin);
        }
 public void UpdatePlugin(PluginDto item)
 {
     this.Session.Store(item);
 }