Пример #1
0
        public IActionResult CreateField(string table_id, string field_name)
        {
            //string field_name = Request.Form["field_name"];
            DataStoreContext context = HttpContext.RequestServices.GetService(typeof(DataStoreContext)) as DataStoreContext;

            context.InsertIntoFields(table_id, field_name);
            return(Redirect($"/home/table/{table_id}"));
        }