Inheritance: Rainbow.ObjectFlow.Stateful.IStatefulObject
 public ActionResult Create(JobPosting posting)
 {
     db.Save(posting);
     db.Flush();
     var result = MapToViewModel(posting);
     return RedirectToAction("CreationWorkflow", new { id = posting.JobPostingId });
 }
 private JobPostingWorkflowViewModel MapToViewModel(JobPosting posting)
 {
     return new JobPostingWorkflowViewModel()
     {
         JobPosting = posting,
         PostingName = posting != null ? posting.Name : null,
         NextSteps = workflow.GetPossibleTransitions(posting)
                 .Select(x => (JobPosting.CreationSteps)x.To).ToList()
     };
 }