public IHttpActionResult PostCustomPage(CustomPage customPage)
        {
            SubPageByClientUrlService subPageByClientUrlService = new SubPageByClientUrlService();

            subPageByClientUrlService.UpsertSubPage(customPage, db);

            return(CreatedAtRoute("DefaultApi", new { id = customPage.PageId }, customPage));
        }
        public IHttpActionResult GetCustomPage(int id)
        {
            SubPageByClientUrlService subPageByClientUrlService = new SubPageByClientUrlService();

            var subPages = subPageByClientUrlService.GetSubNavLinks(db, id);

            return(Ok(subPages));
        }