Пример #1
0
        public JsonResult SendServey(string PoolIds, string SurveyId)
        {
            long sId = Convert.ToInt64(SurveyId);

            string[] cityIdList = PoolIds.Split(",");
            foreach (var item in cityIdList)
            {
                _survey.SendSurveyFromPool(sId, Convert.ToInt64(item), null, _pool.GetPoolById(Convert.ToInt64(item)));
            }
            return(Json(new
            {
                status = "success",
            }));
        }