using System.Collections.Generic; namespace Umbraco.Cms.Core.Packaging { /// /// Defines methods for persisting package definitions to storage /// public interface IPackageDefinitionRepository { IEnumerable GetAll(); PackageDefinition GetById(int id); void Delete(int id); /// /// Persists a package definition to storage /// /// /// true if creating/updating the package was successful, otherwise false /// bool SavePackage(PackageDefinition definition); } }