Exemplo n.º 1
0
        public HttpResponseMessage Auth(string uporabnikID, string apl)
        {
            AuthServiceClient authService = new AuthServiceClient();

            DAplRoles roles = authService.GetApplicationRoles(uporabnikID, apl);

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

            return(response);
        }