public IActionResult Table(string id) { DataStoreContext context = HttpContext.RequestServices.GetService(typeof(DataStoreContext)) as DataStoreContext; tableStructure Table = context.getTable(id); return(View(Table)); }