public PermutationsServiceTests()
        {
            var options = new DbContextOptionsBuilder <PermutationsContext>()
                          .UseInMemoryDatabase(Guid.NewGuid().ToString())
                          .Options;

            _context = new PermutationsContext(options);
        }
Пример #2
0
 public PermutationsService(PermutationsContext context)
 {
     _context = context;
 }