Ronnie Overby
Ronnie Overby

Reputation: 46470

How to call invoke operation on domain service?

I have silverlight business application. I added an invoke method to my AuthenticationService class that returns bool.

How do I call this and get the result from the client?

Upvotes: 2

Views: 1028

Answers (1)

Ronnie Overby
Ronnie Overby

Reputation: 46470

http://msdn.microsoft.com/en-us/library/ee707370(v=vs.91).aspx#Y1804

 var authCtx = new AuthenticationContext();
            authCtx.HasAccess1(io => {
                HasAccess1 = io.Value;
            }, null);

Upvotes: 1

Related Questions