Codit / practical-api-guidelines

Practical guidelines for building & designing APIs with .NET.
MIT License
16 stars 5 forks source link

Init Automapper in the Startup class #92

Closed MassimoC closed 5 years ago

MassimoC commented 5 years ago

I'd call this in the Startup class and not in the constructor of a Controller, since this should obviously be called only once.

_Originally posted by @fgheysels