예제 #1
0
 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;
 }
예제 #2
0
 public Reports(ApplicationDbContext context, CommentRedirector redirector, IMapper mapper)
 {
     _context    = context;
     _redirector = redirector;
     _mapper     = mapper;
 }