public async Task <IEnumerable <MetaAdaptivReconComment> > GetComments(IQueryCommentServiceRepository <MetaAdaptivReconComment> repository) { var query = new CommentQuery(); var handler = new CommentHandlerFactory(repository).Build(query); return(await handler.Get()); }
public CommentsHandler(IQueryCommentServiceRepository <MetaAdaptivReconComment> repository) { _repository = repository; }