Beispiel #1
0
        public IEnumerable <sp_GetPsgDetailsByPnr_Result> Get(int pnr, float?ab = 1)
        {
            try
            {
                var res = db.sp_GetPsgDetailsByPnr(pnr).ToList();
                if (res == null)
                {
                    throw new Exception("NO Details");
                }
                else
                {
                    return(db.sp_GetPsgDetailsByPnr(pnr).ToList());
                }


                //return db.ProjectInfoes.ToList();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }