示例#1
0
        public async Task <SqlitePage> DeletePageAsync(SqlitePage page)
        {
            var count = await _connection.DeleteAsync(page);

            return((count == 1) ? page : null);
        }
示例#2
0
        public async Task <SqlitePage> CreatePageAsync(SqlitePage page)
        {
            var count = await _connection.InsertAsync(page);

            return((count == 1) ? page : null);
        }