示例#1
0
        public ActionResult CallList()
        {
            var results = VoiceSender.GetAllCalls()._embedded.calls;

            ViewData.Add("results", results);

            return(View("Index"));
        }
示例#2
0
        public ActionResult GetAllCalls()
        {
            var calls = VoiceSender.GetAllCalls();

            ViewBag.numCalls = calls.count;

            return(View("Index"));
        }