Exemplo n.º 1
0
 /// <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)));
 }
Exemplo n.º 2
0
        /// <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));
        }