예제 #1
0
        public SessionService(ISQLiteService sqliteService)
        {
            _sqliteService = sqliteService;

            conn = _sqliteService.GetConnection();

            conn.CreateTableAsync <Session>().Wait();
        }
예제 #2
0
        public DonorService(ISQLiteService sqliteService)
        {
            _sqliteService = sqliteService;

            conn = _sqliteService.GetConnection();

            conn.CreateTableAsync <Donor>().Wait();
        }
예제 #3
0
        public MockDonorService(ISQLiteService sqliteService)
        {
            _sqliteService = sqliteService;

            conn = _sqliteService.GetConnection();

            conn.CreateTableAsync <Donor>().Wait();
            InitializeData();
        }
예제 #4
0
        public MockStatsService(ISQLiteService sqliteService)
        {
            _sqliteService = sqliteService;

            conn = _sqliteService.GetConnection();
        }