public string[] GetEventParams() { EventParamJson o = new EventParamJson(); UpdateParamJson(o); return(o.ToArray()); }
public IActionResult QueryParams() { EventParamJson o = Dummy.EventParams; ApiEventParams ep = new ApiEventParams { raceCount = o.RaceCount, itCount = o.ITCount, startlistCount = o.StartlistCount }; return(new JsonResult(ep)); }
public void UpdateParamJson(EventParamJson o) { o.RaceCount = BO.BOParams.raceCount; o.ITCount = BO.BOParams.itCount; o.StartlistCount = BO.BOParams.startlistCount; }