Esempio n. 1
0
 public AddDocumentContract AddDocument(string username, string password, string actualUser, string actualIP,
                                        long DocType, List <byte[]> FileContent, List <string> FileExtensions,
                                        List <string> Keys, List <string> KeyValues, int?applicationId, string appSpecificId)
 {
     return(ServiceWrapper.AddDocument(username, password, Context.Request.UserHostAddress, actualUser, actualIP,
                                       DocType, FileContent, FileExtensions, Keys, KeyValues, applicationId, appSpecificId));
 }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Response.Clear();
     Response.ContentType     = "application/json;charset=utf-8";
     Response.ContentEncoding = Encoding.UTF8;
     Response.Write(Json.Encode(ServiceWrapper.AddDocument(Request)));
     Response.End();
 }