Beispiel #1
0
        public ActionResult GetRecord()
        {
            using (JourneyTowardsDreamzEntities entities = new JourneyTowardsDreamzEntities())
            {
                BusinessAccess objBusinessAccess = new BusinessAccess();
                var            recordList        = objBusinessAccess.ListConsumer();

                return(Json(recordList, JsonRequestBehavior.AllowGet));
            }
        }
Beispiel #2
0
        public ActionResult ShowConsumer(List <Consumer> consumer)
        {
            var i = objBusinessAccess.ListConsumer();

            return(Json(i, JsonRequestBehavior.AllowGet));
        }