public CommentsController(ApplicationDbContext context, OgmaConfig ogmaConfig, CommentsRepository commentsRepo, NotificationsRepository notificationsRepo, CommentRedirector redirector, IMapper mapper) { _context = context; _ogmaConfig = ogmaConfig; _commentsRepo = commentsRepo; _notificationsRepo = notificationsRepo; _redirector = redirector; _mapper = mapper; }
public Reports(ApplicationDbContext context, CommentRedirector redirector, IMapper mapper) { _context = context; _redirector = redirector; _mapper = mapper; }