Beispiel #1
0
 /// <summary>
 /// 保存表单(新增、修改)
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <param name="entity">实体对象</param>
 /// <returns></returns>
 public void SaveForm(string keyValue, CarreservationEntity entity)
 {
     try
     {
         service.SaveForm(keyValue, entity);
     }
     catch (Exception)
     {
         throw;
     }
 }
Beispiel #2
0
 public ActionResult SaveForm(string keyValue, CarreservationEntity entity)
 {
     carreservationbll.SaveForm(keyValue, entity);
     return(Success("操作成功。"));
 }
Beispiel #3
0
 /// <summary>
 /// 司机添加班次
 /// </summary>
 /// <param name="userid"></param>
 /// <param name="entity"></param>
 public void AddDriverCarInfo(string userid, CarreservationEntity entity)
 {
     service.AddDriverCarInfo(userid, entity);
 }