Exemplo n.º 1
0
 public CommentApiController(CommentQueries queries)
 {
     _queries = queries;
 }
Exemplo n.º 2
0
 public CommentQueries <AlbumComment> Comments(IRepositoryContext <Album> ctx)
 {
     return(CommentQueries.Create(ctx.OfType <AlbumComment>(), PermissionContext, userIconFactory, entryLinkFactory));
 }
Exemplo n.º 3
0
 private CommentQueries <DiscussionComment> Comments <T>(IRepositoryContext <T> ctx)
 {
     return(CommentQueries.Create(ctx.OfType <DiscussionComment>(), PermissionContext, userIconFactory, entryLinkFactory));
 }