Beispiel #1
0
 public BoardController(
     IBoardThreadRepository boardRepo,
     IArticleRepository articleRepo,
     IGoogleRecaptchaHelper grHelper,
     IWriter writer,
     ILogger <BoardController> logger)
 {
     googleRecaptchaHelper = grHelper;
     this.boardRepo        = boardRepo;
     this.articleRepo      = articleRepo;
     this.writer           = writer;
     this.logger           = logger;
 }
Beispiel #2
0
 public NewsController(IArticleRepository articleRepo, IGoogleRecaptchaHelper googleRecaptchaHelper)
 {
     this.googleRecaptchaHelper = googleRecaptchaHelper;
     this.articleRepo           = articleRepo;
     newsHelper = new NewsHelper(articleRepo);
 }
Beispiel #3
0
 public ColumnController(IColumnRepository columnRepository, IGoogleRecaptchaHelper googleRecaptchaHelper)
 {
     columnRepo = columnRepository;
     this.googleRecaptchaHelper = googleRecaptchaHelper;
 }