You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
860 B
39 lines
860 B
using EDOKA_Database;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DOCGEN
|
|
{
|
|
public class clsGetDoc
|
|
{
|
|
private string connectionstring = "";
|
|
public clsGetDoc(string Connectionstring)
|
|
{
|
|
this.connectionstring = Connectionstring;
|
|
}
|
|
public string GetDocAsPDF(string Docid)
|
|
{
|
|
string doc = GetDoc(Docid);
|
|
return "";
|
|
}
|
|
public string GetDoc(string Docid)
|
|
{
|
|
EDOKA_DB db = new EDOKA_DB(connectionstring);
|
|
db.GetDocumentAsBase64(Docid);
|
|
if (Docid != "")
|
|
{
|
|
return "";
|
|
}
|
|
else
|
|
{
|
|
return "";
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|