public void SetUp() { _context = new ApplicationDbContext(); _repository = new Infrastructure.Data.StoredProcedureRepository(_context); SqlScriptRunner.SetUpDatabase(); SeedDatabase(); }
public void TearDown() { _context.Dispose(); _repository = null; SqlScriptRunner.ClearDatabase(); }