public static bool UpdateUser(dynamic u)
        {
            AeroplaneDetail aeroplanedetail = new AeroplaneDetail();

            aeroplanedetail.PlaneID   = u.PlaneID;
            aeroplanedetail.PlaneName = u.PlaneName;
            return(db.AeroplaneDetails.UpdateUser(aeroplanedetail));
        }
        public static bool AddUser(dynamic u)
        {
            AeroplaneDetail aeroplanedetail = new AeroplaneDetail();

            aeroplanedetail.PlaneID      = u.PlaneID;
            aeroplanedetail.PlaneName    = u.PlaneName;
            aeroplanedetail.FlightNumber = u.FlightNumber;
            aeroplanedetail.Source       = u.Source;
            aeroplanedetail.Destination  = u.Destination;
            return(db.AeroplaneDetails.AddUser(aeroplanedetail));
        }