public IActionResult Create(string table_name) { //string table_name = Request.Form["table_name"]; DataStoreContext context = HttpContext.RequestServices.GetService(typeof(DataStoreContext)) as DataStoreContext; string table_id = context.InsertIntoTables(table_name); return(Redirect($"/home/table/createfield/{table_id}")); }