public IActionResult Table(string id, string name, List <field> fields)
        {
            DataStoreContext context = HttpContext.RequestServices.GetService(typeof(DataStoreContext)) as DataStoreContext;

            context.UpdateTableName(id, name);
            foreach (var field in fields)
            {
                context.UpdateField(field.id, field.name);
            }

            return(Redirect("/home/tables"));
        }