public async Task <IActionResult> MekanDetay(string username) { var user = await _userManager.FindByNameAsync(username); if (user == null) { return(NotFound("404 Sayfa Bulunamadı")); } var temp = depo.BenimMekanlar(user); return(View("Index", temp)); }
public async Task <IActionResult> BenimMekanlar() { var user = await _userManager.GetUserAsync(HttpContext.User); return(View(_depo.BenimMekanlar(user))); }