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); }
public DatosGlobalesModel(UFModel UF, UTMModel UTM, IMMModel IMM) { this.UF = UF; this.UTM = UTM; this.IMM = IMM; }