Пример #1
0
        public JsonResult Update(string Id, string URL, string tag, string ImageURL)
        {
            RecFloorImg rfi = ServiceHelper.Create<IRecFloorImgService>().GetSingle(Convert.ToInt32(Id));
            rfi.ImageUrl = ImageURL;
            rfi.URL = URL;
            rfi.Tag = tag;
            ServiceHelper.Create<IRecFloorImgService>().Update(rfi);
            Result result = new Result();
            result.msg = "OK";
            result.success = true;
            return Json(result);


        }