public ActionResult SaveData(int id, string title, bool hasChild = false) { var data = new ProductDictionaryData() { Id = id, Title = title, HasChild = hasChild }; var re = ProductDictionaryVerService.SaveData(data, 0); return(new OpActionResult(re)); }
public ActionResult AppendData(string title, short status, string verId, int productId, bool hasChild = false, int psn = 0) { var data = new ProductDictionaryData() { Title = title, DictId = verId, Status = status, HasChild = hasChild, DicPSN = psn }; var re = ProductDictionaryVerService.SaveData(data, productId); return(new OpActionResult(re)); }