Trying to add dependency injection for binding object – Asp.net
I'm working on web application based on .NET Core 2.0. I have class ReportModel, which I use for binding parameters in controller method. And I also have some functionality in the same class (method Get() starts doing somethings, based on…