Exemple #1
0
        public FileResult Download(DocumentModel documentmodel)
        {
            int      id       = documentmodel.id_document;
            Document document = new Document();

            document = operation.GetDocumentById(id);
            return(File(document.Data, document.ContentType, document.Name));
        }