public ActionResult BatchDecryptData(DecryptParameter decData) { try { SecurityManager.Authorize(Request); return(Json(new ApiResult <List <string> >( CodecModule.DecryptData(decData.EncKey, decData.EncData)))); } catch (Exception ex) { return(Json(new ApiError("500", ex.Message))); } }
public ActionResult BatchDecryptData(DecryptParameter decData) { SecurityManager.Authorize(Request); return(Json(new ApiResult <List <string> >( CodecModule.DecryptData(decData.EncKey, decData.EncData)))); }
public List <string> BatchDecryptData([FromBody] DecryptParameter decData) { return(CodecModule.DecryptData(decData.EncKey, decData.EncData)); }