private async Task CreateRoom(string name) { var set = _context.Set <Room>(); await set.AddAsync(new Room { Name = name }); await _context.SaveChangesAsync(); }
public async Task SaveAsync() { await _context.SaveChangesAsync(); }