public void DeleteBootcamp() { var beforeCount = repo.GetAllBootcamps().Count; repo.DeleteBootcamp(2); var afterCount = repo.GetAllBootcamps().Count; Assert.AreEqual(beforeCount - 1, afterCount); }
public void Delete(int id) { _bootcampRepo.DeleteBootcamp(id); }