I am building a website in MVC. At the moment i need to return to a view and download a file.
This return downloads the file:
return "http://formvalue.co.za/download/" + filename + ".xlsx";
And this return will direct me to my view:
return "Complete";
The views name is complete.
I can only have one return but i need both actions preformed?
Is there some way to do them both in one return?
Please if you need more info just ask, Thanks in advance.