public async Task Layout() { var repo = BlogService.LayoutService; await repo.TestStatus(); foreach (var item in LayoutData) { await repo.TestGet(item.Id); } foreach (var id in await repo.TestAll()) { Assert.IsTrue(LayoutData.Any(x => x.Id == id)); } }