TypeScript saving a file to a server
I am altering an existing API that uses TypeScript. I need to have the API save a file to an external server. Is there a way to do this without having a Save File window show up in TypeScript? Can I pass a var from a .ts file to a .cs file in ASP.NET MVC instead and have that save it using System.IO.File.WriteAllText?