/// <summary>
        /// Removes the passenger from space ship.
        /// </summary>
        /// <param name="spaceShipOcupation">The space ship ocupation.</param>
        public void RemovePassengerFromSpaceShip(SpaceShipOcupation spaceShipOcupation)
        {
            var occupation = from sps in DataContext.SpaceShipOcupations
                             where sps.Id_SpaceShip == spaceShipOcupation.Id_SpaceShip &
                             sps.Id_Passenger == spaceShipOcupation.Id_Passenger
                             select sps;

            DataContext.SpaceShipOcupations.DeleteOnSubmit(occupation.First());
            DataContext.SubmitChanges();
        }
        /// <summary>
        /// Removes the passenger from space ship.
        /// </summary>
        /// <param name="spaceShipOcupation">The space ship ocupation.</param>
        public void RemovePassengerFromSpaceShip(SpaceShipOcupation spaceShipOcupation)
        {
            var occupation = from sps in DataContext.SpaceShipOcupations
                          where sps.Id_SpaceShip == spaceShipOcupation.Id_SpaceShip &
                                sps.Id_Passenger == spaceShipOcupation.Id_Passenger
                          select sps;

            DataContext.SpaceShipOcupations.DeleteOnSubmit(occupation.First());
            DataContext.SubmitChanges();
        }
 /// <summary>
 /// Assigns the passenger to space ship.
 /// </summary>
 /// <param name="spaceShipOcupation">The space ship ocupation.</param>
 public void AssignPassengerToSpaceShip(SpaceShipOcupation spaceShipOcupation)
 {
     DataContext.SpaceShipOcupations.InsertOnSubmit(spaceShipOcupation);
     DataContext.SubmitChanges();
 }
 /// <summary>
 /// Assigns the passenger to space ship.
 /// </summary>
 /// <param name="spaceShipOcupation">The space ship ocupation.</param>
 public void AssignPassengerToSpaceShip(SpaceShipOcupation spaceShipOcupation)
 {
     DataContext.SpaceShipOcupations.InsertOnSubmit(spaceShipOcupation);
     DataContext.SubmitChanges();
 }