Beispiel #1
0
        public async Task <bool> DeleteAliasName(CCBContractor model)
        {
            bool result = false;
            await HelperClass.PostResponse(model, "DeleteAliasName");

            return(result);
        }
Beispiel #2
0
        /// <summary>
        /// this method will call web api for get contractor by ccb number
        /// </summary>
        /// <param name="ccbNumber"></param>
        /// <returns></returns>
        public async Task <CCBContractor> GetContractor(string ccbNumber)
        {
            CCBContractor result = new CCBContractor();

            result = await HelperClass.GetResponse(result, "SearchContractor?ccbNumber=" + ccbNumber);

            return(result);
        }
Beispiel #3
0
 public async Task <CCBContractor> UpdateAliasName(CCBContractor model)
 {
     return(await HelperClass.PostResponse(model, "UpdateAliasName"));
 }