标签: asp.net-mvc validation
使用模型调用控制器方法并检查模型是否有效如果模型无效返回验证错误,条件调用控制器方法从某些视图中的某些其他控制器请检查完整代码
This Is Welcom.cshtml Page From Where I Am Calling The Method
This is Application Setting Controller If The Model Is Valid I Had Perform The Logic And Redirect To new Page According To Success Or Fail