示例#1
0
        public async Task Add(IEnumerable <Guest> guests)
        {
            await _banjoContext.Guests.AddRangeAsync(guests);

            await _banjoContext.SaveChangesAsync();
        }
示例#2
0
 public async Task SaveChanges()
 {
     await _banjoContext.SaveChangesAsync();
 }