dependency injection in c and net with the autofac library