Ejemplo n.º 1
0
        public IHttpActionResult Get(Guid siteId)
        {
            var result = from f in storageService.ListFiles(siteId.ToString())
                         select new
            {
                name = System.IO.Path.GetFileName(f.LocalPath),
                uri  = f
            };

            return(Ok(result));
        }