public HttpResponseMessage Delete([FromBody] string userId) { ResponseData response = userDataManager.Delete(userId); return(new HttpResponseMessage() { Content = new JsonContent(new { UserId = response.Id, StatusCode = response.StatusCode, StatusMessage = response.StatusMessage, }) }); }