public void TestGetAllFeedbackComments()
        {
            BloodBL         bl    = new BloodBL();
            List <Feedback> fList = bl.GetAllFeedbackComments();

            Assert.AreEqual(3, fList.Count);
        }
Example #2
0
    protected void DisplayFeedbackComments()
    {
        BloodBL         bl           = new BloodBL();
        List <Feedback> feedbackList = bl.GetAllFeedbackComments();

        GridViewFeedbackComments.DataSource = feedbackList;
        GridViewFeedbackComments.DataBind();
    }