예제 #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));
        }