Esempio n. 1
0
        public UserService(ISlackRestClient restClient, ISQLite sqlite)
        {
            _restClient = restClient;
            _database   = sqlite.GetConnection();

            _database.CreateTable <User>();
            _database.CreateTable <UserProfile>();
        }
Esempio n. 2
0
        public UserService(ISlackRestClient restClient, ISQLite sqlite)
        {
            _restClient = restClient;
            _database = sqlite.GetConnection();

            _database.CreateTable<User>();
            _database.CreateTable<UserProfile>();
        }