Exemple #1
0
        public HttpResponseMessage DeactivateUser(HttpRequestMessage request, int userId)
        {
            adminApi.DeactivateUser(userId);

            var response = request.CreateResponse(HttpStatusCode.OK);

            return(response);
        }