public IActionResult GetSpreadsheetDetail([FromQuery] string supplier = "", string status = "") { try { return(Ok(new { data = supplierRepo.GetSpreadsheetDetail(supplier, status) })); } catch (Exception e) { return(BadRequest(e)); } }