Ejemplo n.º 1
0
        /// <summary>
        /// this method will call web api for get permit payment by permit id
        /// </summary>
        /// <param name="permitID"></param>
        /// <returns></returns>
        public async Task <PermitPayment> GetPermitPayment(long permitID)
        {
            PermitPayment result = new PermitPayment();

            result = await HelperClass.GetResponse(result, "GetPermitPayment?permitID=" + permitID);

            return(result);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// this method will call web api for delete permit payment
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public async Task <PermitPayment> DeletePermitPayment(PermitPayment model)
        {
            model = await HelperClass.PostResponse(model, "DeletePermitPayment");

            return(model);
        }