public IActionResult Put([FromBody] PageContent[] pageContents)
        {
            try
            {
                if (pageContents == null || pageContents.Length == 0)
                {
                    return(BadRequest());
                }

                _contentManager.AddOrUpdatePageContents(new List <PageContent>(pageContents));
                return(Ok());
            }
            catch (Exception ex)
            {
                _logger.LogError(string.Format("Error occured while updating page contents"), ex);
                return(new StatusCodeResult(StatusCodes.Status500InternalServerError));
            }
        }