在asp.net mvc 中实现查询功能的时候遇到的。 Views在向Controllers中传值的时候,如果用submit提交,在Controllers中要把get和post的方法都写出来。 因为页面第一次执行的时候用的是get。