Esempio n. 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));
        }
Esempio n. 2
0
        public async Task <IActionResult> Index()
        {
            var dialplan = await _sipDialPlanManager.LoadDialPlan();

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