Example #1
0
        public ActionResult PushToUsers(int appId, string userIds)
        {
            string error;
            int    result = appService.AddAppVersionPush(appId, userIds, out error);

            if (result > 0)
            {
                return(Json(new { state = 1 }));
            }
            else
            {
                return(Json(new { state = -1, error }));
            }
        }