mirror of
https://github.com/Queercon/QC14-Badge-Webview.git
synced 2025-08-20 21:33:29 -07:00
sql helper and code for view selection start
This commit is contained in:
parent
95032586d5
commit
11f497adee
2 changed files with 43 additions and 2 deletions
|
@ -8,7 +8,7 @@ namespace qcbadge.Controllers
|
|||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
public IActionResult Index(string s)
|
||||
public IActionResult Index(string s, string id)
|
||||
{
|
||||
if ((String.Compare(Startup.scode, s, true) == 0))
|
||||
{
|
||||
|
@ -17,11 +17,19 @@ namespace qcbadge.Controllers
|
|||
ViewData["1"] = 1;
|
||||
ViewData["38"] = 1;
|
||||
|
||||
if (String.IsNullOrEmpty(id))
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
return View();
|
||||
}
|
||||
else { return StatusCode(401); }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue