Пример #1
0
        //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;
        }
Пример #2
0
 public KeysApi(IKeysValidator keysValidator, IKeysFactory keysFactory)
 {
     _keysValidator = keysValidator;
     _keysFactory   = keysFactory;
 }