Wissance / WebApiToolkit

A set of useful C# reusable classes and components that could be used with any Net Core Web application IT ALLOW TO REDUCE AMOUNT OF CODE when IMPLEMENTING REST API (see examples in README)
https://wissance.github.io/WebApiToolkit/
Apache License 2.0
14 stars 3 forks source link

Pass Manager to Base controllers via constructor #7

Open EvilLord666 opened 2 years ago

EvilLord666 commented 2 years ago

According to #2 : Base Controller: I personally think that passing the Manager object into the base controller via a constructor is easier to understand. i.e., public GroupController(GroupManager manager) : base(manager) { }