public MyTransactionalService(IMyRepository myRepository, IMyDatabase myDatabase) { this.myRepository = myRepository; this.myDatabase = myDatabase; }
public ContactsController(IMyDatabase myDatabase) { _myDatabase = myDatabase; _storage = new GenericStorage(); }