Exemple #1
0
        // Gets All Feedback
        public List <FeedbackEntity> GetAllFeedback(int SortOrder, int PageNumber, int PageSize, out int TotalRecords, string HostName, string FeedbackType)
        {
            FeedbackRepository    rep     = new FeedbackRepository();
            List <FeedbackEntity> results = new List <FeedbackEntity>();

            results = rep.GetAllFeedback(SortOrder, PageNumber, PageSize, out TotalRecords, HostName, FeedbackType);
            return(results);
        }
Exemple #2
0
 public IList <FeedbackDTO> GetAllFeedback()
 {
     return((from f in _feedbackRepo.GetAllFeedback()
             select new FeedbackDTO()
     {
         Text = f.Text,
     }).ToList());
 }