Exemple #1
0
 public UserServiceTests(DataServiceFixture dataServiceFixture)
 {
     _configuration    = dataServiceFixture.Configuration;
     _dbContextOptions = dataServiceFixture.DbContextOptions;
     _mapper           = dataServiceFixture.ServiceProvider.GetService <IMapper>();
     _logger           = dataServiceFixture.ServiceProvider.GetService <ILoggerFactory>().CreateLogger <UserService>();
 }
 public OrganizationServiceTests(DataServiceFixture dataServiceFixture)
 {
     _configuration    = dataServiceFixture.Configuration;
     _dbContextOptions = dataServiceFixture.DbContextOptions;
     _logger           = dataServiceFixture.LoggerFactory.CreateLogger <OrganizationService>();
 }