Esempio n. 1
0
        public void Test_Get_Client_Files(string[] files)
        {
            var result      = _fileProcess.GetUploadFiles();
            var clientFiles = result.Select(x => x.FileName);

            Assert.Equal(files, clientFiles);
        }
Esempio n. 2
0
        public IActionResult GetFiles()
        {
            var result = _fileProcess.GetUploadFiles();

            if (!result.Any())
            {
                return(NotFound());
            }

            return(Ok(result));
        }