public async Task Delete() { using (var contex = new ApplicationDbContext(_options)) { var repository = new SqlProductRepository(contex); await repository.Remove(3); } }
public async Task Delete() { using (var contex = new ApplicationDbContext(_options)) { var repository = new SqlProductRepository(contex); await repository.Remove(3); } }