示例#1
0
 public NominationService(Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ILogger logger, ICustomDateService customDateService)
 {
     _commonDataBaseContext    = commonDbService.GetCommonDataBaseContext();
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _logger            = logger;
     _customDateService = customDateService;
 }
示例#2
0
 public AwardService(IDataContextFactory contextFactory, ICommonDbService commonDbService, INominationService nominationService, ICustomDateService customDateService)
 {
     _encourageDbcontext = contextFactory.CreateEncourageDbContext();
     _CommonDbContext    = commonDbService.GetCommonDataBaseContext();
     _nominationService  = nominationService;
     _customDateService  = customDateService;
 }
示例#3
0
 public EmailController(IEmailTemplateService emailTemplateService, ILogger logger, INominationService nominationService, IAwardService awardService, ICustomDateService customDateService)
 {
     _emailTemplateService = emailTemplateService;
     _logger            = logger;
     _nominationService = nominationService;
     _awardService      = awardService;
     _customDateService = customDateService;
 }
示例#4
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;
 }
示例#5
0
 public NominationController(INominationService nominationService, Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory,
                             ICommonDbService commonDbService, IAwardService awardService, IReviewService reviewService, ILogger logger, ICustomDateService customDateService)
 {
     _nominationService        = nominationService;
     _commonDbContext          = commonDbService.GetCommonDataBaseContext();
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _awardService             = awardService;
     _reviewService            = reviewService;
     _textInfo          = new CultureInfo("en-US", false).TextInfo;
     _logger            = logger;
     _customDateService = customDateService;
 }
示例#6
0
 public ReviewController(IResultService resultService, INominationService nominationService, ICommonDbService commonDbService, Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, IAwardService awardService,
                         IReviewService reviewService, IEmailNotificationOfWinner EmailNotificationOfWinner, ILogger logger, ICustomDateService customDateService)
 {
     _commonDbContext           = commonDbService.GetCommonDataBaseContext();
     _encourageDatabaseContext  = dataContextFactory.CreateEncourageDbContext();
     _awardService              = awardService;
     _reviewService             = reviewService;
     _nominationService         = nominationService;
     _resultService             = resultService;
     _emailNotificationOfWinner = EmailNotificationOfWinner;
     _logger            = logger;
     _customDateService = customDateService;
 }
示例#7
0
 public ResultService(Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ICustomDateService customDateService)
 {
     _commonDataBaseContext    = commonDbService.GetCommonDataBaseContext();
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _customDateService        = customDateService;
 }
 public EmailTemplateService(IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ILogger logger, ICustomDateService customdateService)
 {
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _commonDataBaseContext    = commonDbService.GetCommonDataBaseContext();
 }