You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
480 B
24 lines
480 B
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace App.Controllers
|
|
{
|
|
public class FormController : Controller
|
|
{
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
|
|
}
|
|
|
|
public IActionResult Save(string firstname, string lastname)
|
|
{
|
|
ViewBag.daten = firstname + lastname;
|
|
return View();
|
|
}
|
|
}
|
|
}
|