public void Save(ServiceInfo info) { if (info.id > 0) _serviceDao.Update(info);else _serviceDao.Insert(info); }
public ActionResult Service(ServiceInfo info) { ServiceInfoService.GetInstance().Save(info); return RedirectToAction("servicelist"); }
partial void UpdateServiceInfo(ServiceInfo instance);
partial void DeleteServiceInfo(ServiceInfo instance);
partial void InsertServiceInfo(ServiceInfo instance);