/// <summary> /// 保存表单(新增) /// </summary> /// <param name="entity">实体对象</param> /// <returns></returns> public void SaveForm(ReceivableEntity entity) { try { service.SaveForm(entity); } catch (Exception) { throw; } }
/// <summary> /// 保存表单(新增) /// </summary> /// <param name="entity">实体对象</param> /// <returns></returns> public void UpdateStateForm(string keyValue, ReceivableEntity entity) { try { service.UpdateStateForm(keyValue, entity); } catch (Exception) { throw; } }
public ActionResult SaveForm(ReceivableEntity entity) { receivablebll.SaveForm(entity); return(Success("操作成功。")); }
public ActionResult UpdateStateForm(string keyValue, ReceivableEntity entity) { receivablebll.UpdateStateForm(keyValue, entity); return(Success("操作成功。")); }