public void AddRoom(Room room)
 {
     room.RoomId = Guid.NewGuid();
     room.OwnerId = CurrentUser().UserId;
     db.Rooms.Add(room);
     db.SaveChanges();
 }
 public void ModifyRoom(Room room)
 {
     room.OwnerId = CurrentUser().UserId;
     db.Entry(room).State = EntityState.Modified;
     db.SaveChanges();
 }