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

            context.RecordingModel = model;
            var controller = new RecordingController(context, model, container);

            collection.Add(controller);
        }
 public RecordingController(GlobalContext context, RecordingModel model, RecordingComponent component)
 {
     _context   = context;
     _model     = model;
     _component = component;
 }