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

            _context = new PermutationsContext(options);
        }
Exemplo n.º 2
0
 public PermutationsService(PermutationsContext context)
 {
     _context = context;
 }