Beispiel #1
0
 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)
     });
 }
Beispiel #2
0
 public Create(ISentinelEntryRepository sentinelEntryRepository, IMapper mapper)
 {
     _sentinelEntryRepository = sentinelEntryRepository;
     _mapper = mapper;
 }
Beispiel #3
0
 public OtherMaterials(ISentinelEntryRepository sentinelEntryRepository)
 {
     _sentinelEntryRepository = sentinelEntryRepository;
 }
 public OtherLaboratoryNumbers(ISentinelEntryRepository sentinelEntryRepository)
 {
     _sentinelEntryRepository = sentinelEntryRepository;
 }
 public OtherHospitalDepartment(ISentinelEntryRepository sentinelEntryRepository)
 {
     _sentinelEntryRepository = sentinelEntryRepository;
 }
Beispiel #6
0
 public OtherPcrDetails(ISentinelEntryRepository sentinelEntryRepository, IOptions <ApplicationSettings> config)
 {
     _sentinelEntryRepository = sentinelEntryRepository;
 }
Beispiel #7
0
 public OtherSpecies(ISentinelEntryRepository sentinelEntryRepository, IOptions <ApplicationSettings> config)
 {
     _sentinelEntryRepository = sentinelEntryRepository;
     _configuredOtherSpecies  = config?.Value?.Application?.OtherSpecies ?? new List <string>();
 }