Beispiel #1
0
 public JsonResult Insert(ConsultingInfo info)
 {
     if (info.Id > 0)
         return Json(_busi.Update(info));
     return Json(_busi.Insert(info));
 }
Beispiel #2
0
 public JsonResult SubmitExchanges(ConsultingInfo info)
 {
     var busi = new ConsultingBusi();
     return Json(busi.Insert(info));
 }