public ActionResult GetAllDiscussions()
        {
            IEnumerable <Discussion> discussions = _discussionService.GetAllDiscussions();

            return(View("GetAllDiscussions", discussions));
        }
Example #2
0
 public IEnumerable <Discussion> GetAllDiscussions()
 {
     return(_dao.GetAllDiscussions());
 }