コード例 #1
0
        //[Test]
        public async void RepShouldUpdateIssues()
        {
            // _repos = new SqliteLocalRepository("vsqwe");
            LocalIssue newiss = new LocalIssue()
            {
                //Id=3,
                Head     = "very fake issue",
                Body     = "fat body for fat issue",
                Color    = "reed",
                Created  = DateTime.Now,
                Modified = DateTime.Now,
                Row      = new RowInfo {
                    Name = "changingbysaving", Order = 2, Id = 4
                },
                Column = new ColumnInfo {
                    Name = "firstcolss", Order = 1, Id = 3
                },
            };

            // RowInfo newrow = new RowInfo { Name = "newrow", Order = 242, Width = 14 };
            var filt = new NameValueCollection();
            //var t=await _repos.CreateOrUpdateIssueAsync(newiss);
            //var t = _repos.GetIssues(filt);
            //var tt = t.Where(i => i.Id == 1);
            await repos.DeleteIssueAsync(17);

            // var newnew = _repos.CreateOrUpdateIssueAsync(newiss);
        }
コード例 #2
0
 public async Task DeleteIssueAsync(int issueId)
 {
     await repo.DeleteIssueAsync(issueId);
 }