/// <summary> /// Delete the PaymentHistory by ID /// </summary> /// <param name="PaymentHistoryID">Unique identifier for the PaymentHistory</param> /// <returns>No of records updated</returns> public async Task <int> DeletePaymentHistoryByID(long PaymentHistoryID) { return(await _httpService.DeleteAsAsync <int>(PaymentHistoryEndPoint, string.Format("PaymentHistoryID={0}", PaymentHistoryID))); }
/// <summary> /// Delete the user by the ID /// </summary> /// <param name="UserID">Unique identifier for the user</param> /// <returns>Success/Failure</returns> public async Task <string> DeleteUser(long UserID) { string queryParam = string.Format("CustomerID={0}", UserID); return(await _httpService.DeleteAsAsync <string>("User/DeleteUser", queryParam)); }