// 1. Instantiating a service within a method is not a good idea. public void DoFoo() { var bar = new Bar(); // don't do this bar.DoBar(); }