// Filtered access: Guest/Admin. public async Task <IActionResult> SingleOccupancy([FromRoute] int resourceId) { await AuthorizeForSingleResource(resourceId); return(Ok(await resService.OccupancyByResource(resourceId))); }
// Filtered access: Guest/Admin. public async Task <IActionResult> SingleOccupancy([FromRoute] int resourceId) { await AuthorizeForSingleResource(resourceId); return(Ok(await resService.OccupancyByResource(resourceId))); }