singleton vs scoped vs transient code example
Example: servicecollection addsingleton vs addtransient
//ref https://stackoverflow.com/questions/38138100/addtransient-addscoped-and-addsingleton-services-differences
//ref https://stackoverflow.com/questions/38138100/addtransient-addscoped-and-addsingleton-services-differences