Ejemplo n.º 1
0
 public PartialFindResult <ArtistContract> FindArtists(ArtistQueryParams queryParams)
 {
     return(FindArtists(a => new ArtistContract(a, PermissionContext.LanguagePreference), queryParams));
 }
Ejemplo n.º 2
0
// ReSharper restore UnusedMember.Local

        public PartialFindResult <Artist> Find(ISession session, ArtistQueryParams queryParams)
        {
            return(new ArtistSearch(LanguagePreference).Find(session, queryParams));
        }
Ejemplo n.º 3
0
// ReSharper restore UnusedMember.Local

        public PartialFindResult <Artist> Find(ISession session, ArtistQueryParams queryParams)
        {
            var context = new NHibernateDatabaseContext <Artist>(session, PermissionContext);

            return(new ArtistSearch(queryParams.LanguagePreference, context, entryUrlParser).Find(queryParams));
        }
Ejemplo n.º 4
0
// ReSharper restore UnusedMember.Local

        public PartialFindResult <Artist> Find(ISession session, ArtistQueryParams queryParams)
        {
            var context = new NHibernateRepositoryContext <Artist>(session, PermissionContext);

            return(new ArtistSearch(LanguagePreference, context).Find(queryParams));
        }