diff --git a/prime-dotnet-webapi/Controllers/SitesController.cs b/prime-dotnet-webapi/Controllers/SitesController.cs index 9f7b820223..1663c98343 100755 --- a/prime-dotnet-webapi/Controllers/SitesController.cs +++ b/prime-dotnet-webapi/Controllers/SitesController.cs @@ -1463,7 +1463,8 @@ public async Task RestoreSite(int siteId, SiteNoteUpdateModel site [ProducesResponseType(StatusCodes.Status200OK)] public async Task CanBeRestore(int siteId) { - return Ok(!await _siteService.CanBeRestore(siteId)); + var result = await _siteService.CanBeRestore(siteId); + return Ok(result); } } }