public UserService(IMyContextFactory contextFactory) { contextFactory = contextFactory; }
public MyController(IMyContextFactory contextFactory) { this.contextFactory = contextFactory; }