Пример #1
0
        public static List <spGetStatusDetails_Result> Get(long Sno)
        {
            List <spGetStatusDetails_Result> Obj = null;;

            using (var dbContext = new BSSDBEntities())
            {
                var ReqData = dbContext.spGetStatusDetails(Sno);
                Obj = ReqData.ToList();
            }
            return(Obj);
        }
Пример #2
0
        public static List <spGetStatusDetails_Result> Detail(long Sno)
        {
            List <spGetStatusDetails_Result> JobCardDetail = null;

            using (var dbContext = new BSSDBEntities())
            {
                var ReqData = dbContext.spGetStatusDetails(Sno);

                JobCardDetail = ReqData.ToList();
            }
            return(JobCardDetail);
        }