Пример #1
0
        public IHttpActionResult GetCustomPage(string id)
        {
            CustomPageService customPageService = new CustomPageService();



            var pages = customPageService.GetAllPagesByClientUrl(id, db);



            return(Ok(pages));
        }
Пример #2
0
        public IHttpActionResult GetPagesByClient(string id, NewClientWebPagesDBEntities db)
        {
            CustomPageService customPageService = new CustomPageService();

            // var content = webContentService.GetWebContentByPageId(id, db);

            var pages = customPageService.GetAllPagesByClientUrl(id, db);



            return(Ok(pages));
        }