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)); }
public async Task <IActionResult> Index() { var dialplan = await _sipDialPlanManager.LoadDialPlan(); return(View(nameof(Index), dialplan.DialPlanScript)); }