forked from SoDOff-Project/sodoff
take url inputs on `GetUserAndVikingCount
`
This commit is contained in:
parent
e8e1369012
commit
0a97ff8d42
@ -14,7 +14,7 @@ namespace sodoff.Controllers.Common
|
|||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[Route("AnalyticsWebService.asmx/GetUserAndVikingCount")]
|
[Route("AnalyticsWebService.asmx/GetUserAndVikingCount")]
|
||||||
public IActionResult GetUserAndVikingCount([FromForm] bool vikingsOnly)
|
public IActionResult GetUserAndVikingCount(bool vikingsOnly)
|
||||||
{
|
{
|
||||||
if (vikingsOnly) return Ok(new UserStatistics
|
if (vikingsOnly) return Ok(new UserStatistics
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user