private static Create CreateSut(out ISentinelEntryRepository sentinelEntryRepository, out IMapper map, string organizationId = null) { sentinelEntryRepository = Substitute.For <ISentinelEntryRepository>(); map = Substitute.For <IMapper>(); return(new Create(sentinelEntryRepository, map) { ControllerContext = new MockControllerContext("/api/sentinel-entries", organizationId) }); }
public Create(ISentinelEntryRepository sentinelEntryRepository, IMapper mapper) { _sentinelEntryRepository = sentinelEntryRepository; _mapper = mapper; }
public OtherMaterials(ISentinelEntryRepository sentinelEntryRepository) { _sentinelEntryRepository = sentinelEntryRepository; }
public OtherLaboratoryNumbers(ISentinelEntryRepository sentinelEntryRepository) { _sentinelEntryRepository = sentinelEntryRepository; }
public OtherHospitalDepartment(ISentinelEntryRepository sentinelEntryRepository) { _sentinelEntryRepository = sentinelEntryRepository; }
public OtherPcrDetails(ISentinelEntryRepository sentinelEntryRepository, IOptions <ApplicationSettings> config) { _sentinelEntryRepository = sentinelEntryRepository; }
public OtherSpecies(ISentinelEntryRepository sentinelEntryRepository, IOptions <ApplicationSettings> config) { _sentinelEntryRepository = sentinelEntryRepository; _configuredOtherSpecies = config?.Value?.Application?.OtherSpecies ?? new List <string>(); }