示例#1
0
 public void AddCustomer(User customer)
 {
     try
     {
         repo.AddCustomerAsync(customer);
         Log.Information("Successfully Added Customer");
     }catch (Exception e)
     {
         Log.Information($"Failed to add customer - {e.Message}");
     }
 }