public Response Protect(string passw) { Response response = null; if (Request.Files.Count > 0) { var docs = UploadFiles(Request); AsposeWordsProtection asposeWordsProtection = new AsposeWordsProtection(); response = asposeWordsProtection.Protect(docs, passw); } return(response); }
public Response Unlock(string outputType, string passw) { Response response = null; if (Request.Files.Count > 0) { var docs = UploadFiles(Request); AsposeWordsProtection asposeWordsProtection = new AsposeWordsProtection(); response = asposeWordsProtection.Unlock(docs, outputType, passw); } return(response); }