//private readonly DatabaseContext m_db; //public GenerateController() //{ // m_db = new DatabaseContext(); //} //public GenerateController(IKeysFactory keysFactory, DatabaseContext context) public GenerateController(IKeysFactory keysFactory) { //m_db = context;// new DatabaseContext(); m_keysFactory = keysFactory; }
public KeysApi(IKeysValidator keysValidator, IKeysFactory keysFactory) { _keysValidator = keysValidator; _keysFactory = keysFactory; }