Example #1
0
        public async Task <IActionResult> FileGet(string objectId, string path)
        {
            var id   = new ObjectId(objectId);
            var item = await _dbService.Data.SingleAsync(id);

            var result = _utilService.GetFileContent(item, path);

            return(Ok(result));
        }