public void TestGetAllFeedbackComments() { BloodBL bl = new BloodBL(); List <Feedback> fList = bl.GetAllFeedbackComments(); Assert.AreEqual(3, fList.Count); }
protected void DisplayFeedbackComments() { BloodBL bl = new BloodBL(); List <Feedback> feedbackList = bl.GetAllFeedbackComments(); GridViewFeedbackComments.DataSource = feedbackList; GridViewFeedbackComments.DataBind(); }