public void DeleteBootcampTest() { var beforeCount = _locationsRepo.GetAllBootcampLocations().Count; _locationsRepo.DeleteBootcampLocation(1); var afterCount = _locationsRepo.GetAllBootcampLocations().Count; Assert.AreEqual(beforeCount - 1, afterCount); }
public void Delete(int id) { _bootcampLocationsRepo.DeleteBootcampLocation(id); }