示例#1
0
 public List <Comment> GetComments(DomainObject <int> targetObject)
 {
     return(targetObject != null?commentDao.GetAll(targetObject) : new List <Comment>());
 }
示例#2
0
 /// <summary>
 /// Method for get all the comments
 /// </summary>
 /// <param name="all"></param>
 /// <returns></returns>
 public List <Comment> Search(bool all)
 {
     return(Repo.GetAll().ToList());
 }