Question: first time learn asp.net mvc model and C#. Here is a simple code of Upload page. How to save user input from textarea and generate
first time learn asp.net mvc model and C#. Here is a simple code of Upload page. How to save user input from textarea and generate a list for all input under the submit button? and how to change controller to make it work? (controller.cs also provide)
@{ ViewData["Title"] = "Upload"; }
Input your questions here:
controller.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using DataVis.Models;
namespace DataVis.Controllers { public class HomeController : Controller { private readonly ILogger
public HomeController(ILogger
public IActionResult Index() { return View(); }
public IActionResult Upload() { return View(); }
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
