Beispiel #1
0
 public void Save(Job job)
 {
     if (job.id > 0)
          _jobDao.Update(job);
     else
          _jobDao.Insert(job);
 }
Beispiel #2
0
 public ActionResult Addjob(Job job)
 {
     JobService.GetInstance().Save(job);
     return RedirectToAction("jobs");
 }
 partial void DeleteJob(Job instance);
 partial void UpdateJob(Job instance);
 partial void InsertJob(Job instance);