public NominationService(Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ILogger logger, ICustomDateService customDateService) { _commonDataBaseContext = commonDbService.GetCommonDataBaseContext(); _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext(); _logger = logger; _customDateService = customDateService; }
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; }
public ResultService(Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ICustomDateService customDateService) { _commonDataBaseContext = commonDbService.GetCommonDataBaseContext(); _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext(); _customDateService = customDateService; }