Merhaba, Index.cshtml'den başka bir .cshtml dosyasına bağlantı yapmaya çalışıyorum ancak ne denediysem olmuyor. Dosya adlarım da doğru. Yardımcı olabilir misiniz?
Ekler aşağıda;
[CODE lang="aspnet" title="HaberController.cs kodları"]using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using TurkGazete.Models;
namespace TurkGazete.Controllers;
public class HaberController : Controller
{
private readonly ILogger<HaberController> _logger;
public IActionResult TekirdagHaber()
{
return View();
}
I want to redirect to another view in my application when user clicks to the hyperlinked text. I wrote the code like this: <p class="mb-0"> <a href="~/Views/Account/
I want to redirect to another view in my application when user clicks to the hyperlinked text. I wrote the code like this: <p class="mb-0"> <a href="~/Views/Account/
I want to redirect to another view in my application when user clicks to the hyperlinked text. I wrote the code like this: <p class="mb-0"> <a href="~/Views/Account/
Ek olarak şunu belirtmek isterim ki herhangi bir kod veya hata mesajı paylaşacağınızda her zaman editörü kullanmanız, yardımcı olacaklar için çok kolaylık sağlayacaktır.
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using TurkGazete.Models;
namespace TurkGazete.Controllers;
public class HaberController : Controller
{
private readonly ILogger<HaberController> _logger;
public IActionResult TekirdagHaber()
{
return View();
}
}
Ek olarak şunu belirtmek isterim ki herhangi bir kod veya hata mesajı paylaşacağınızda her zaman editörü kullanmanız, yardımcı olacaklar için çok kolaylık sağlayacaktır.