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.DeleteDocument(Request))); Response.End(); }
public OnBaseContract DeleteDocument(string UserName, string Password, string ActualUser, string ActualUserIP, long DocID, int?applicationid, string appspecificid) { return(ServiceWrapper.DeleteDocument(UserName, Password, Context.Request.UserHostAddress, ActualUser, ActualUserIP, DocID, applicationid, appspecificid)); }