diff --git a/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Content/app.js b/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Content/app.js index 546456173..19ff192f5 100644 --- a/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Content/app.js +++ b/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Content/app.js @@ -13,16 +13,8 @@ ngApp.factory('FilesFactory', function ($resource) { }); }); -ngApp.factory('DocumentInfoFactory', function ($resource) { - return $resource('/document/info?file=:filename', {}, { - get: { - method: 'GET' - } - }); -}); - ngApp.factory('DocumentPagesFactory', function ($resource) { - return $resource('/document/pages?file=:filename', {}, { + return $resource('/document/info?file=:filename', {}, { query: { method: 'GET', isArray: false diff --git a/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Controllers/DocumentPagesController.cs b/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Controllers/DocumentInfoController.cs similarity index 96% rename from Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Controllers/DocumentPagesController.cs rename to Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Controllers/DocumentInfoController.cs index c93f76226..c6146c62a 100644 --- a/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Controllers/DocumentPagesController.cs +++ b/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Controllers/DocumentInfoController.cs @@ -14,8 +14,8 @@ namespace Viewer_Modren_UI.Controllers { - [RoutePrefix("document/pages")] - public class DocumentPagesController : Controller + [RoutePrefix("document/info")] + public class DocumentInfoController : Controller { [HttpGet] [Route("")] diff --git a/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Viewer-Modren-UI.csproj b/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Viewer-Modren-UI.csproj index 852e6c328..1fcc9055e 100644 --- a/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Viewer-Modren-UI.csproj +++ b/Showcases/GroupDocs.Viewer-for-.NET-Modern-UI/Viewer-Modren-UI/Viewer-Modren-UI.csproj @@ -112,7 +112,7 @@ - + @@ -140,8 +140,6 @@ - - 10.0