In my app, I have a Model which should include a module. The model has an attribute called ‘format’, which determines which module should be included. For instance, if format == 0, then the Model should include SingleElimination, whereas if format == 1, then the Model should include DoubleElmination. What is the best way to do this?
In my app, I have a Model which should include a module. The model
Share
1 Answer