コード例 #1
0
        public async Task <IActionResult> Index()
        {
            //if (HttpContext.User?.Identity?.IsAuthenticated == true)
            //{
            //    return RedirectToAction(nameof(Account));
            //}
            //else
            //{
            //    return View();
            //}

            var dialplan = await _sipDialPlanManager.LoadDialPlan();

            return(View(nameof(Index), dialplan.DialPlanScript));
        }
コード例 #2
0
        public async Task <IActionResult> Index()
        {
            var dialplan = await _sipDialPlanManager.LoadDialPlan();

            return(View(nameof(Index), dialplan.DialPlanScript));
        }