示例#1
0
 public async Task <ActionResult <Zone> > GetZoneById(
     [FromServices] IZoneService zoneService,
     [FromRoute] int zoneId)
 {
     return(await zoneService.FindZoneById(zoneId));
 }