// Передача статуса "сгенерировано" для job-а в сессии с данным именем.
 public static void SetGraphsGeneratedEventHandler(string jobName, 
     GraphsAreGenerated manager_GraphsGenerated)
 {
     log.Info("Setting generated status for a job in the session.");
     session[jobName].SetGraphsGeneratedEventHandler(manager_GraphsGenerated);
 }
 public void SetGraphsGeneratedEventHandler(GraphsAreGenerated manager_GraphsGenerated)
 {
     manager.GraphsGenerated += new GraphsAreGenerated(manager_GraphsGenerated);
 }