public async Task <IActionResult> GetNavigationAsync() { var session = await _workContext.GetSessionAsync(); var navigation = _navigationService.GetNavigation(session); return(Ok(navigation)); }
public async Task <IActionResult> GetSessionAsync() { var session = await _workContext.GetSessionAsync(); return(Ok(session)); }