View Source
Interface IPackageDefinitionRepository
Defines methods for persisting package definitions to storage
Assembly: Umbraco.Core.dll
Syntax
public interface IPackageDefinitionRepository
Methods
View Source
Delete(Int32)
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
View Source
GetAll()
Declaration
IEnumerable<PackageDefinition> GetAll()
Returns
View Source
GetById(Int32)
Declaration
PackageDefinition GetById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
View Source
SavePackage(PackageDefinition)
Persists a package definition to storage
Declaration
bool SavePackage(PackageDefinition definition)
Parameters
Returns
Type |
Description |
System.Boolean |
true if creating/updating the package was successful, otherwise false
|