public HttpResponseMessage DeactivateUser(HttpRequestMessage request, int userId) { adminApi.DeactivateUser(userId); var response = request.CreateResponse(HttpStatusCode.OK); return(response); }