private static IEnumerable <MemberMessage> GetMemberMessages(ContactsDataContext dc, Guid employerId, Guid memberId) { dc.LoadOptions = MessageLoadOptions; return(GetMessagesQuery(dc, employerId, memberId)); }
private static MemberMessage GetMemberMessage(ContactsDataContext dc, Guid employerId, Guid id) { dc.LoadOptions = MessageLoadOptions; return(GetMessageQuery(dc, employerId, id)); }