using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SampleMvcIntroduction.Models; namespace SampleMvcIntroduction.Controllers { [HandleError] public class HomeController : Controller { public ActionResult Index() { ViewData["Message"] = "Merhaba ASP.NET MVC!"; ViewData["MyObject"] = "Nesnem"; return View(); } public ActionResult About() { return View(); } public ActionResult EmployeeView() { Employee employee = new Employee(101, "Zeki Müren", 3400); return View(employee); } } }Dosyayı İndir