示例#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 HomeController(IAwardService awardService, ICommonDbService commonDbService, Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, INominationService nominationService)
 {
     _awardService             = awardService;
     _commonDbService          = commonDbService;
     _dataContextFactory       = dataContextFactory;
     _encourageDatabaseContext = _dataContextFactory.CreateEncourageDbContext();
     _nominationService        = nominationService;
 }
示例#3
0
 public ResultService(Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ICustomDateService customDateService)
 {
     _commonDataBaseContext    = commonDbService.GetCommonDataBaseContext();
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _customDateService        = customDateService;
 }