I need to pass an Excel file in to and web service implemented in C#. The web service I have created so far is as follows.
public void loadData([FromBody]string dataFile)
{
}
I also thought that it is accepatble to pass the Excel file is using a Base64 string; Is this a good way or are there any better ways to do this?