public CodeController(CodeRules rules, CodeRepository repos, MerlinReadContext readContext, MerlinReadStore readStore) { this.rules = rules; this.repos = repos; this.readContext = readContext; this.readStore = readStore; }
public LayoutController(LayoutRules rules, MerlinReadContext readContext, LayoutService service, MerlinReadStore readStore, LayoutRepository layoutRepository) { this.rules = rules; this.service = service; this.readContext = readContext; this.readStore = readStore; this.layoutRepository = layoutRepository; }
public SmartGoalsController( MerlinReadStore readStore, MerlinReadContext readContext, SmartGoalsRepository smartGoalsRepository, IUsernameProvider usernameProvider ) { this.readStore = readStore; this.readContext = readContext; this.repos = smartGoalsRepository; this.usernameProvider = usernameProvider; }
public OutbreakController(MerlinReadStore readStore, MerlinReadContext readContext, OutbreakRules rules, OutbreakService service, LayoutRepository layoutRepository, AuthenticationService authenticationService, IConfiguration config, EpicomRepository epicomRepository, OutbreakRepository outbreakEventsRepository) { this.readStore = readStore; this.readContext = readContext; this.rules = rules; this.service = service; this.layoutRepository = layoutRepository; this.authenticationService = authenticationService; this.config = config; this.epicomRepository = epicomRepository; this.outbreakRepository = outbreakEventsRepository; }
public SurveyController( MerlinReadContext readContext, LayoutRepository layoutRepository, SurveyService service, SurveyRules rules, SurveyAnswerRules answerRules, MerlinReadStore readStore, SurveyAnswerRepository surveyAnswerRepository) { this.readContext = readContext; this.layoutRepository = layoutRepository; this.service = service; this.rules = rules; this.answerRules = answerRules; this.readStore = readStore; this.surveyAnswerRepository = surveyAnswerRepository; }
public AddressController(MerlinReadStore readStore) { this.readStore = readStore; }
public OutbreakRepository(MerlinReadStore readStore, MerlinReadContext readContext) { this.readStore = readStore; this.readContext = readContext; }
private async Task <IEnumerable <DropdownCode> > GetCodesDropdownAsync(string codeType, MerlinReadStore db) { string sql = @"SELECT CD_VALUE Code, DS_DESC Description FROM dbo.CODES WHERE CD_TYPE = @type AND (DT_EXPIRED > CURRENT_TIMESTAMP OR DT_EXPIRED IS NULL) AND DS_DESC NOT IN (' ','NOT AVAILABLE') ORDER BY ID_SEQUENCE, DS_DESC"; return(await db.QueryAsync <DropdownCode>(sql, new { type = codeType })); }
public CodeRepository(MerlinReadStore db) { this.db = db; }
public EpicomRepository(MerlinReadStore readStore, MerlinReadContext readContext, IConfiguration config) { this.readStore = readStore; this.readContext = readContext; this.config = config; }
public CaseController(MerlinReadStore readStore, MerlinReadContext readContext) { this.readStore = readStore; this.readContext = readContext; }
public DataServices(MerlinReadStore readStore) { this.readStore = readStore; keyColumnLookup = new Dictionary <string, IEnumerable <string> >(); }
public SmartGoalsRepository(MerlinReadStore readStore) { this.readStore = readStore; }
public DbSequenceGenerator(MerlinReadStore db) { this.db = db; }