public IEnumerable <FollowUp> GetFollowUpsbyExpertId(int id) { return(FollowUpRepository.GetAll(t => t.ExpertId == id && t.Active == true && t.ExpertReply == null)); }
public IEnumerable <FollowUp> GetFollowupsbyUserId(int id) { return(FollowUpRepository.GetAll(t => t.UserId == id && t.Active == true)); }
public IEnumerable <FollowUp> GetFollowUps() { return(FollowUpRepository.GetAll()); }