public class ContactService
{
public List<Contact> ContactsWithEmailAddresses()
{
return Contacts(true, false);
}
public List<Contact> ContactsWithEmailAddressesAndTelephoneNumber()
{
return Contacts(true, true);
}
public List<Contact> Contacts(bool includeEmailAddress, bool includeTelephoneNumbers)
{
//Some logic that Eagerloads email addresses and telephone numbers based on condition and returns contacts.
}
}