deleteReview() public method

public deleteReview ( TblReview r ) : void
r TblReview
return void
        public void DeleteAReview()
        {
            ITaxonRepository Taxon = new TaxonRepository();

             TblReview r = Taxon.getReview(2);

             Taxon.deleteReview(r);

             TblReview r2 = Taxon.getReview(2);
             Assert.AreEqual(r2.Deleted,false);

             //Assert.AreEqual(count,0);
        }
        public ActionResult Delete(FormCollection collection)
        {
            ITaxonRepository Taxon = new TaxonRepository();

            var reviewID = Int32.Parse(collection["ID"]);

            TblReview r = Taxon.getReview(reviewID);

            Taxon.deleteReview(r);

               return RedirectToAction("Delete");
        }