示例#1
0
        public async Task <IActionResult> GetFile([FromRoute] string table, [FromRoute] string field, [FromRoute] string key)
        {
            var obj = new FileViewer(this);

            return(await obj.GetFile(table, field, key));
        }
示例#2
0
        public IActionResult GetFile([FromRoute] string fn)
        {
            var obj = new FileViewer(this);

            return(obj.GetFile(fn));
        }
示例#3
0
        public async Task <IActionResult> GetFile([FromRoute] string fn)
        {
            var obj = new FileViewer(this);

            return(await obj.GetFile(fn));
        }