public static Mantencion MantencionAeroBDaAPP(MANTENCION_AERO aer)
        {
            int      id          = Decimal.ToInt32(aer.ID_MANTENCION);
            string   descripcion = aer.DESCRIPCION;
            DateTime date        = aer.FECHA_MANTENCION;

            return(new Mantencion(id, descripcion, date));
        }
        public int ModificarMantencionAeroEnBD(string matricula)
        {
            Entities        db   = new Entities();
            MANTENCION_AERO mant = db.MANTENCION_AERO.Where(x => x.ID_MANTENCION == this.IdMantencion).First();

            mant.DESCRIPCION         = this.Descripcion;
            mant.AERONAVES_MATRICULA = matricula;
            mant.FECHA_MANTENCION    = this.FechaMMantencion;
            return(db.SaveChanges());
        }
        public int GuardarMantencionAeroEnBD(string matricula)
        {
            Entities        db   = new Entities();
            MANTENCION_AERO mant = new MANTENCION_AERO();

            mant.DESCRIPCION         = this.Descripcion;
            mant.AERONAVES_MATRICULA = matricula;
            mant.FECHA_MANTENCION    = this.FechaMMantencion;
            db.MANTENCION_AERO.Add(mant);
            return(db.SaveChanges());
        }