overload DeleteAlert

This commit is contained in:
2013-08-18 21:58:16 +02:00
parent a380680c6a
commit a144aa1914
+11
View File
@@ -54,5 +54,16 @@ namespace UptimeSharp
return Get<DefaultResponse>("deleteAlertContact", parameters).Status;
}
/// <summary>
/// Removes an alert.
/// </summary>
/// <param name="alert">The alert.</param>
/// <returns></returns>
public bool DeleteAlert(Alert alert)
{
return DeleteAlert((int)alert.ID);
}
}
}