コード例 #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
ファイル: ResultService.cs プロジェクト: ankur-soni/Utilities
 public ResultService(Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ICustomDateService customDateService)
 {
     _commonDataBaseContext    = commonDbService.GetCommonDataBaseContext();
     _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext();
     _customDateService        = customDateService;
 }