public void Generate(GlobalContext context, MainScreenComponent container, ControllerCollection collection)
        {
            var model = new MainScreenModel();

            context.MainScreenModel = model;
            var controller = new MainScreenController(context, model, container);

            collection.Add(controller);
        }
 public MainScreenController(GlobalContext context, MainScreenModel model, MainScreenComponent component)
 {
     _context   = context;
     _model     = model;
     _component = component;
 }