Esempio n. 1
0
 public async Task <ResultDto> Set(
     [FromQuery, ArgValid("str-input", "name")] string name,
     [FromQuery, ArgValid("str-input", "stats")] string stats)
 {
     _statsService.AddStat(name, Int32.Parse(stats));
     return(ResultDto.Create(null));
 }