Пример #1
0
 public void Save(ServiceInfo info)
 {
     if (info.id > 0)
         _serviceDao.Update(info);else
     _serviceDao.Insert(info);
 }
Пример #2
0
 public ActionResult Service(ServiceInfo info)
 {
     ServiceInfoService.GetInstance().Save(info);
     return RedirectToAction("servicelist");
 }
Пример #3
0
 partial void UpdateServiceInfo(ServiceInfo instance);
Пример #4
0
 partial void DeleteServiceInfo(ServiceInfo instance);
Пример #5
0
 partial void InsertServiceInfo(ServiceInfo instance);