Esempio n. 1
0
        public async Task <object> Get(GetItemByNameRemoteImages request)
        {
            var pathInfo = PathInfo.Parse(Request.PathInfo);
            var type     = pathInfo.GetArgumentValue <string>(0);

            var item = GetItemByName(request.Name, type, _libraryManager);

            return(await GetRemoteImageResult(item, request).ConfigureAwait(false));
        }
        public object Get(GetItemByNameRemoteImages request)
        {
            var pathInfo = PathInfo.Parse(Request.PathInfo);
            var type     = pathInfo.GetArgumentValue <string>(0);

            var item = GetItemByName(request.Name, type, _libraryManager);

            return(GetRemoteImageResult(item, request));
        }