/// <summary>
 /// Returns an enumerable collection of all personas.
 /// </summary>
 public IEnumerable <PersonaInfo> GetAll()
 {
     return(RepositoryCacheHelper.CacheObjects(() =>
     {
         return personaInfoProvider.Get();
     }, $"{nameof(KenticoPersonaRepository)}|{nameof(GetAll)}"));
 }
Пример #2
0
 private IEnumerable <PersonaInfo> GetAllPersonas()
 {
     return(mPersonaInfoProvider.Get());
 }