public void UninstallBundle(int id)
{
try
{
IBundle bundle = bundleRepository.GetBundle(id);
bundleRepository.Unregister(bundle);
}
catch (Exception ex)
{
throw new BundleException("Uninstall bundle threw a exception.", ex);
}
}