How can I get service provider from service collection? - C#