protected override void OnInit()
 {
     _mainController = ((DiContainer)graphBlackboard.parent.variables["DiContainer"].value).Resolve <MainController>();
 }