public static Answer FindByDrug(Drug d, Question q) { if (d == null || !d.ID.HasValue || q == null || !q.ID.HasValue) return null; return FindByDrug(d.ID.Value, q.ID.Value); }
public static IList<Link> FindByDrug(Drug d, Question q) { if (d == null || d.ID == null || q == null || q.ID == null) return null; return FindByDrug(d.ID.Value, q.ID.Value); }
public static IList<Question> FindByParent(Question q) { if (q == null || !q.ID.HasValue) return new List<Question>(); return FindByParent(q.ID.Value); }