use case of addScope,singleton, trasit in dotnetcore 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