public ActionResult Save(Button model) { if (!string.IsNullOrEmpty(model.IMG)) { model.IMG = Uri.UnescapeDataString(model.IMG); } var result = buttonService.Save(model); return(Json(result)); }
public ActionResult Save(Button model) { if (!string.IsNullOrEmpty(model.IMG)) { model.IMG = Uri.UnescapeDataString(model.IMG); } var result = buttonService.Save(model); return(Json(result)); }