public void DeleteBootcamp()
        {
            var beforeCount = repo.GetAllBootcamps().Count;

            repo.DeleteBootcamp(2);
            var afterCount = repo.GetAllBootcamps().Count;

            Assert.AreEqual(beforeCount - 1, afterCount);
        }
Example #2
0
 public void Delete(int id)
 {
     _bootcampRepo.DeleteBootcamp(id);
 }