storing an ActionResult into a byte[] (C# & MVC)WMwalid mousbah11yAsked Jun 21, 2015, 1:00 PM991Visual Basic .NETHi,I have this method:public ActionResult GetPdf(string filename)with this return statment:return File(data, "application/pdf");How can I store the result coming back from the above method into this array:byte[] DataThanks
Replies
Know the answer? Post it — somebody with the same question will find it here.