Пример #1
0
 public async Task <Item> GetItemAsync(string id)
 {
     using (var context = new TodoDbContext())
     {
         return(await context.FindAsync <Item>(id));
     }
 }