public async Task <IActionResult> DeactivateResource(long id) { await _resourceService.Deactivate(id); return(NoContent()); }