public ActionResult Index() { AttachmentRepository attachmentRepository = new AttachmentRepository(); var result = attachmentRepository.GetDocument("Environment", 1); return File(result.AttachmentData, result.AttachmentType, result.AttachmentName); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)