dependency injection - How to prevent Controller Constructor argument from growing -
i have project in .net core , have dependency injection going on there. wrapper business layer classes 1 class inject 1 instance controller. need add other things project grows aws s3, ses , other things, started notice have more 4 parameters in controller constructor.
is design flaw in part? there way clean up?
Comments
Post a Comment