Exemple #1
0
        public static void GetEnterprise(long id)
        {
            var enterpriseRequest = new EnterpriseRequestHandler();
            var resp = enterpriseRequest.DeleteEnterprise(id).Result;

            Console.WriteLine(resp);
        }
Exemple #2
0
 public async static void DeleteEnterprise(long id)
 {
     try
     {
         var enterpriseRequest = new EnterpriseRequestHandler();
         Console.WriteLine(await enterpriseRequest.DeleteEnterprise(id));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }