排球积分程序(四)——Controller和View设计

在Controller中 有以下几个Action

Index:选择功能

Count:选择队伍

CountScore:进行计分

AddScore:加分,更新数据

Search:查询比分

SearchTeam:选择队伍

TeamScore:显示队伍比分

其中AddScore没有视图,让它只进行数据的操作,然后返回CountScore视图

流程是先进入Index,然后选择功能计分或者查询比分。计分跳转Count,查询比分跳转Search。

除了AddScore没有视图,其他均有视图。

原文地址:https://www.cnblogs.com/colorful-Ji/p/7068043.html