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

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

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