Пример #1
0
 public async Task <IActionResult> ReadExcelFromPath([FromBody] string filePath)
 {
     if (string.IsNullOrEmpty(filePath))
     {
         return(BadRequest());
     }
     return(await Task.FromResult(Ok(_fileProcessor.ReadExcelFile(filePath))));
 }