public IActionResult HasPageImage(long pageId) { m_authorizationManager.AuthorizeResource(pageId, PermissionFlag.ReadProject); var hasImage = m_projectItemManager.HasBookPageImage(pageId); return(hasImage ? (IActionResult)Ok() : NotFound()); }
public IActionResult HasPageImage(long pageId) { m_authorizationManager.AuthorizeResource(pageId, PermissionFlag.ReadProject); var hasImage = m_projectItemManager.HasBookPageImage(pageId); return(hasImage ? (IActionResult)Ok() : NotFound()); }