From ad0ce3e56cd22b69635f0b82975c8498e91697d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=95=8F?= <2732585869@qq.com> Date: Sun, 29 Dec 2024 21:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=E5=80=BC=E4=BF=9D?= =?UTF-8?q?=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...06\345\200\274\344\277\235\347\225\231.md" | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 "\350\265\265\346\225\217/\347\273\203\344\271\240/\346\220\234\347\264\242\346\241\206\345\200\274\344\277\235\347\225\231.md" diff --git "a/\350\265\265\346\225\217/\347\273\203\344\271\240/\346\220\234\347\264\242\346\241\206\345\200\274\344\277\235\347\225\231.md" "b/\350\265\265\346\225\217/\347\273\203\344\271\240/\346\220\234\347\264\242\346\241\206\345\200\274\344\277\235\347\225\231.md" new file mode 100644 index 0000000..d8d039b --- /dev/null +++ "b/\350\265\265\346\225\217/\347\273\203\344\271\240/\346\220\234\347\264\242\346\241\206\345\200\274\344\277\235\347\225\231.md" @@ -0,0 +1,19 @@ + +public class SearchViewModel +{ + public string SearchTerm{get;set;} +} + +### Controller +```c# +[HttpPost] +public IActionResult Search(SearchViewModel model) +{ + return View(model); +} +``` +## View +```html +
\ No newline at end of file -- Gitee