public static AircraftRegistrationOwnerPerson ToEntity(this AircraftRegistrationOwnerPersonViewModel model)
        {
            if (model == null)
            {
                return(null);
            }

            AircraftRegistrationOwnerPerson entity = new AircraftRegistrationOwnerPerson
            {
                Id             = model.Id,
                RegistrationId = model.RegistrationId,
                Identifier     = model.Identifier,
                Names          = model.Names,
            };

            return(entity);
        }
        public static AircraftRegistrationOwnerPersonViewModel ToViewModel(this AircraftRegistrationOwnerPerson entity)
        {
            if (entity == null)
            {
                return(null);
            }

            AircraftRegistrationOwnerPersonViewModel model = new AircraftRegistrationOwnerPersonViewModel
            {
                Id             = entity.Id,
                RegistrationId = entity.RegistrationId,
                Identifier     = entity.Identifier,
                Names          = entity.Names,
            };

            return(model);
        }