public async Task <IActionResult> UploadFile(IFormFile file)
    {
        JArray data = await excel.GetDataAsync(myFile.OpenReadStream());

        if (data.Count == 0)
        {
            return(BadRequest("File is blank."));
        }
        return(Ok(data));
    }
    public async Task <IActionResult> UploadFile(IFormFile file)
    {
        JArray data = await excel.GetDataAsync(myFile.OpenReadStream());

        return(Ok(data));
    }