コード例 #1
0
        public DefFasciaKmModel GetFasciaKm(decimal idDefKm)
        {
            DefFasciaKmModel lm = new DefFasciaKmModel();

            try
            {
                using (dtGruppoFKM dtl = new dtGruppoFKM())
                {
                    lm = dtl.getListFasciaKM(idDefKm).ToList().First();
                }
                return(lm);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
コード例 #2
0
        public GruppoFKMModel GetGroupFasciaKm(bool escludiAnnullati = true)
        {
            GruppoFKMModel lm = new GruppoFKMModel();

            try
            {
                using (dtGruppoFKM dtl = new dtGruppoFKM())
                {
                    lm = dtl.getListGruppoFKM(escludiAnnullati).ToList().First();
                }
                return(lm);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }