Exemplo n.º 1
0
 public KarmaController(
     IEntryKarmaService entryKarmaService,
     ICommentKarmaService commentKarmaService,
     IEntryService entryService,
     ICommentService commentService
     )
 {
     this.entryKarmaService   = entryKarmaService;
     this.commentKarmaService = commentKarmaService;
     this.entryService        = entryService;
     this.commentService      = commentService;
 }
Exemplo n.º 2
0
 public EntryService(AppDbContext appDbContext, ICommentService commentService, IEntryKarmaService karmaService, IMapper mapper)
 {
     _dbContext      = appDbContext;
     _commentService = commentService;
     _mapper         = mapper;
     _karmaService   = karmaService;
 }