public void Delete()
        {
            AirplaneRegister.WebAPI.Models.AirplaneRegister airplane = _ctx.AirplaneRegisters.Find(1);
            _ctx.AirplaneRegisters.Remove(airplane);
            int changed = _ctx.SaveChanges();

            Assert.Equal(1, changed);
        }
        public void Add()
        {
            AirplaneRegister.WebAPI.Models.AirplaneRegister airplane = new AirplaneRegister.WebAPI.Models.AirplaneRegister {
                AirplaneTypeId = 1, Capacity = 100
            };
            _ctx.AirplaneRegisters.Add(airplane);
            int changed = _ctx.SaveChanges();

            Assert.Equal(1, changed);
        }