Пример #1
0
        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,
                })
            });
        }