Beispiel #1
0
        // GET: Personal/Edit/5
        public ActionResult Edit(string id)
        {
            var personalEdit = PersonalData.GetPersonals().FirstOrDefault(x => x.PersonalId == Guid.Parse(id));

            return(View(personalEdit));
        }
Beispiel #2
0
        // GET: Personal
        public ActionResult Index()
        {
            var personaldata = PersonalData.GetPersonals();

            return(View(personaldata));
        }