예제 #1
0
        public ActionResult BadgeHistoryReceiver(string id)
        {
            var service = new GstService(SystemContext.GstConnectionString);

            var result = service.ReadAllBadgeReceivedByReceiver(id);

            return(View("BadgeHistorySearch", result));
        }
예제 #2
0
        // GET: Tree/GridView
        public ActionResult GridView(string id)
        {
            var service = new GstService(SystemContext.GstConnectionString);

            _badgeList = service.ReadAllBadgeReceivedByReceiver("10010");

            // ID: used to get Badges received by Person with ID
            return(View(_badgeList));
        }