示例#1
0
        public static UFModel ObtenerUFActiva()
        {
            UFModel UFActiva = new UFModel();

            using (remuneracionesContext db = new remuneracionesContext())
            {
                UFActiva = db.UFModel.SingleOrDefault(x => x.Fecha.Month == DateTime.Now.Month &&
                                                      x.Fecha.Year == DateTime.Now.Year &&
                                                      x.EstaActiva == true);
            }
            return(UFActiva);
        }
示例#2
0
 public DatosGlobalesModel(UFModel UF, UTMModel UTM, IMMModel IMM)
 {
     this.UF  = UF;
     this.UTM = UTM;
     this.IMM = IMM;
 }