public IHttpActionResult Post([FromBody] BaseObjects.GeneralParams Param)
        {
            List <QuestionGroupResult> Result = new List <QuestionGroupResult>();

            if (Param == null)
            {
                return(new RawJsonActionResult(Newtonsoft.Json.JsonConvert.SerializeObject(Result)));
            }
            if (Param.ServiceKey != BaseObjects.SERVICE_PASS)
            {
                return(new RawJsonActionResult(Newtonsoft.Json.JsonConvert.SerializeObject(Result)));
            }

            //Result = QuestionGroup.ListWithGamesStatus(Param.UserID);

            return(new RawJsonActionResult(QuestionGroup.ListWithGamesStatus(Param.UserID)));
        }
        public IHttpActionResult Post([FromBody] BaseObjects.GeneralParams Param)
        {
            User Result = new User();
            List <SecurityQuestion> U = new List <SecurityQuestion>();

            if (Param == null)
            {
                return(new RawJsonActionResult(Newtonsoft.Json.JsonConvert.SerializeObject(Result)));
            }
            if (Param.ServiceKey != BaseObjects.SERVICE_PASS)
            {
                return(new RawJsonActionResult(Newtonsoft.Json.JsonConvert.SerializeObject(Result)));
            }

            U = Result.SecurityQuestionList();

            return(new RawJsonActionResult(Newtonsoft.Json.JsonConvert.SerializeObject(U)));
        }