I have tried sending it through constructor parameter but it says object reference needed. I also have tried using Dependency resolver but that also doesn't work either
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)