public AppDatabase(ISqLiteService sqLiteService) { _connection = sqLiteService.GetConnectionAsync(); _connection.CreateTableAsync <Session>().Wait(); }
public ItemDatabase(ISqLiteService sqLiteService) { _connection = sqLiteService.GetConnectionAsync(); _connection.CreateTableAsync <Item>().Wait(); }