public UserResponse GetUser(long id)
        {
            UserResponse response = new UserResponse();

            try
            {
                if (ValidateRequest.GetUser(id))
                {
                    var result = new UserCRUD().GetUser(id);
                    if (result == null)
                    {
                        response.NotFound();
                    }
                    else
                    {
                        response.OK();
                        response.User = result;
                    }
                }
                else
                {
                    response.BadRequest();
                }
            }
            catch (Exception es)
            {
                logger.Error(string.Format("GetUser, UserID={0}", id));
                logger.Error("GetUser " + es.StackTrace);
                response.InternalServerError();
            }
            return(response);
        }