Example #1
0
 public QuestionsController(QuestionsUnitOfWork mainDb, ILogger <QuestionsController> logger, ConnectionsHub hub,
                            MediaConverter mediaConverter)
 {
     MainDb         = mainDb;
     Logger         = logger;
     Hub            = hub;
     MediaConverter = mediaConverter;
 }
 public CommentsController(QuestionsUnitOfWork mainDb, ConnectionsHub hub, ILogger <ComplaintsController> logger,
                           MediaConverter mediaConverter)
 {
     MainDb         = mainDb;
     Hub            = hub;
     Logger         = logger;
     MediaConverter = mediaConverter;
 }
Example #3
0
 public NewsQuestionsController(QuestionsUnitOfWork mainDb, DbContextOptions <TwoButtonsContext> dbOptions,
                                ConnectionsHub hub, ILogger <NewsQuestionsController> logger, MediaConverter mediaConverter)
 {
     MainDb         = mainDb;
     DbOptions      = dbOptions;
     Hub            = hub;
     Logger         = logger;
     MediaConverter = mediaConverter;
 }
 public TagsController(QuestionsUnitOfWork mainDb, ILogger <UserPageQuestionsController> logger)
 {
     MainDb = mainDb;
     Logger = logger;
 }
Example #5
0
 public ComplaintsController(QuestionsUnitOfWork mainDb, ILogger <ComplaintsController> logger)
 {
     MainDb = mainDb;
     Logger = logger;
 }