public TEntity Read <TEntity>(Guid id) where TEntity : class, ISitecoreDomainEntity { var item = CurrentDatabase.GetItem(new ID(id)); return(Read <TEntity>(item)); }
public TEntity Read <TEntity>(string contentPath) where TEntity : class, ISitecoreDomainEntity { var item = CurrentDatabase.GetItem(contentPath); return(Read <TEntity>(item)); }
public Item GetItem(string path) { return(CurrentDatabase.GetItem(path)); }