public void Test_Get_Client_Files(string[] files) { var result = _fileProcess.GetUploadFiles(); var clientFiles = result.Select(x => x.FileName); Assert.Equal(files, clientFiles); }
public IActionResult GetFiles() { var result = _fileProcess.GetUploadFiles(); if (!result.Any()) { return(NotFound()); } return(Ok(result)); }