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 ProjectService(IDataContextFactory dataContextFactory, IEmployeeService employeeService, ICommonMapper commonMapper) { _context = dataContextFactory.Create(ConnectionType.Ip); _employeeService = employeeService; _commonMapper = commonMapper; _utilityCommonDbContext = _commonMapper.GetCommonDataBAseContext(); }
public AwardService(IDataContextFactory contextFactory, ICommonDbService commonDbService, INominationService nominationService, ICustomDateService customDateService) { _encourageDbcontext = contextFactory.CreateEncourageDbContext(); _CommonDbContext = commonDbService.GetCommonDataBaseContext(); _nominationService = nominationService; _customDateService = customDateService; }
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; }
public ResultService(Silicus.Encourage.DAL.Interfaces.IDataContextFactory dataContextFactory, ICommonDbService commonDbService, ICustomDateService customDateService) { _commonDataBaseContext = commonDbService.GetCommonDataBaseContext(); _encourageDatabaseContext = dataContextFactory.CreateEncourageDbContext(); _customDateService = customDateService; }