configure services
inside ConfigureService() method
startup.cs configureservice
in configureService method in startup file