public void DeleteBootcampSessionTest() { int beforeCount = repo.GetAllBootcampSessions().Count; repo.DeleteBootcampSession(2); int afterCount = repo.GetAllBootcampSessions().Count; Assert.AreEqual(beforeCount - 1, afterCount); }
public void Delete(int id) { _bootcampSessionRepo.DeleteBootcampSession(id); }