public async Task <IActionResult> Index() { string userName = User.Identity.Name; var user = await _userManager.FindByNameAsync(userName); DashboardViewModel model = new DashboardViewModel { gDInformation = await lostAndFoundService.GetAllGDInformation(), gDType = await lostAndFoundType.GetGDTypes(), dashboardLn = _lang.PerseLang("Dashboard/DashboardEN.json", "Dashboard/DashboardBN.json", Request.Cookies["lang"]), }; return(View(model)); //SearchViewModel model = new SearchViewModel //{ // searchLn = _sLang.PerseLang("LostFound/SearchEN.json", "LostFound/SearchBN.json", Request.Cookies["lang"]), //}; //return View(model); }