public KarmaController( IEntryKarmaService entryKarmaService, ICommentKarmaService commentKarmaService, IEntryService entryService, ICommentService commentService ) { this.entryKarmaService = entryKarmaService; this.commentKarmaService = commentKarmaService; this.entryService = entryService; this.commentService = commentService; }
public CommentService(AppDbContext appDbContext, ICommentKarmaService karmaService, IMapper mapper) { _dbContext = appDbContext; _mapper = mapper; _karmaService = karmaService; }