Right now we are instantiating instances of these classes, which will then CONTAIN either a service or model. So you have to do something along the lines of
This seems like an inappropriate implementation of these classes. Wouldn't it make more sense for these classes to contain a 'static'-type method which simply returns a model/service?
Like
Right now we are instantiating instances of these classes, which will then CONTAIN either a service or model. So you have to do something along the lines of
or
This seems like an inappropriate implementation of these classes. Wouldn't it make more sense for these classes to contain a 'static'-type method which simply returns a model/service? Like