示例#1
0
 public async ValueTask <bool> DeleteAuthorAsync(int id)
 {
     return(await Provider.DeleteAuthorAsync(id));
 }
 public void DeleteAuthorTest()
 {
     var auth = provider.GetAuthorsAsync(null).Result.First().Id;
     var result = provider.DeleteAuthorAsync(auth).Result;
     Assert.IsTrue(result);
 }