Esempio n. 1
0
 public AwardService(IDataContextFactory contextFactory, ICommonDbService commonDbService, INominationService nominationService, ICustomDateService customDateService)
 {
     _encourageDbcontext = contextFactory.CreateEncourageDbContext();
     _CommonDbContext    = commonDbService.GetCommonDataBaseContext();
     _nominationService  = nominationService;
     _customDateService  = customDateService;
 }
Esempio n. 2
0
 public HomeController(ICommonDbService commonDbService, IDataContextFactory dataContextFactory,
                       INominationService nominationService, IResultService resultService, ILogger logger, ICustomDateService customDateService)
 {
     _commonDbService          = commonDbService;
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _commonDbContext          = commonDbService.GetCommonDataBaseContext();
     _nominationService        = nominationService;
     _resultService            = resultService;
     _logger            = logger;
     _customDateService = customDateService;
 }
Esempio n. 3
0
 public ReviewService(IDataContextFactory dataContextFactory, ICommonDbService commonDbService, INominationService nominationService, ILogger logger)
 {
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _logger = logger;
 }
Esempio n. 4
0
 public ReviewerService(IDataContextFactory dataContextFactory)
 {
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
 }
 public EmailTemplateService(IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ILogger logger, ICustomDateService customdateService)
 {
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _commonDataBaseContext    = commonDbService.GetCommonDataBaseContext();
 }
Esempio n. 6
0
 public WinnerUserService(IDataContextFactory context, INominationService nominationService, IReviewService reviewService)
 {
     _context           = context.CreateEncourageDbContext();
     _nominationService = nominationService;
     _reviewService     = reviewService;
 }