Exemple #1
0
        public HttpResponseMessage Boolean(string sessionToken)
        {
            AuthServiceClient authService = new AuthServiceClient();

            DSessionValid sessionValid = authService.IsSessionValid(sessionToken);

            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, sessionValid);

            return(response);
        }