protected virtual void WriteHistory(INode node, String action, Boolean success, String remark) { NodeHistory.Create(node, action, success, remark, Environment.MachineName, UserHost); }
protected virtual NodeHistory WriteHistory(String action, Boolean success, INode node, String remark = null) { var ip = UserHost; return(NodeHistory.Create(node, action, success, remark, Environment.MachineName, ip)); }
private void WriteHistory(Node node, String action, Boolean success, String remark) => NodeHistory.Create(node, action, success, remark, Environment.MachineName, UserHost);