mirror of
https://github.com/Queercon/QC14-Badge-Webview.git
synced 2025-08-14 02:27:10 -07:00
add refresh=1 option
This commit is contained in:
parent
782e1e8619
commit
6a0633e5a8
2 changed files with 15 additions and 2 deletions
|
@ -8,9 +8,10 @@ namespace qcbadge.Controllers
|
|||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
public IActionResult Index(string s, string id)
|
||||
public IActionResult Index(string s, string id, int refresh)
|
||||
{
|
||||
Helpers.Sql sql = new Helpers.Sql();
|
||||
ViewData["refresh"] = refresh;
|
||||
|
||||
if ((String.Compare(Startup.scode, s, true) == 0))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue