I hope this is a stupid question, but in WCF I can't seem to come up with a clean way to expose my public methods to the client. For example, instead of providing a "flat" service with these four methods:
GetOrganization() CreateOrganization() GetPerson() CreatePerson() I would like the client to access the Get/Create methods as part of the Organization and Person objects: Organization.Get() Organization.Create() Person.Get() Person.Create() I can't seem to figure out how to do this without creating separate services in the same project. Is there any way to implement this in one class using multiple service contracts or something? When it's all said and done it seems as though all of the methods for my service must be identified in my main service class.
