示例#1
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.AddNote(Request)));
     Response.End();
 }
示例#2
0
 public AddNoteContract AddNote(string UserName, string Password, string ActualUser, string ActualUserIP,
                                long DocID, long NoteType, string Text, long?Width, long?Height, long?XPosition, long?YPosition, long?PageNumber, int?applicationId, string appSpecificId)
 {
     return(ServiceWrapper.AddNote(UserName, Password, Context.Request.UserHostAddress, ActualUser, ActualUserIP,
                                   DocID, NoteType, Text, Width, Height, XPosition, YPosition, PageNumber, applicationId, appSpecificId));
 }