예제 #1
0
        public async Task <ActionResult <FileList> > Get(string directory, [FromQuery] string pattern)
        {
            var result = await _directories.ListFilesAsync(directory, pattern);

            return(result ?? (ActionResult <FileList>)NotFound());
        }