// Initiates the client link process to manage the account of another customer. // Sends an invitation from an agency to a potential client. private async Task <AddClientLinksResponse> AddClientLinksAsync(IList <ClientLink> clientLinks) { var request = new AddClientLinksRequest { ClientLinks = clientLinks }; return(await Service.CallAsync((s, r) => s.AddClientLinksAsync(r), request)); }
public async Task <AddClientLinksResponse> AddClientLinksAsync( IList <ClientLink> clientLinks) { var request = new AddClientLinksRequest { ClientLinks = clientLinks }; return(await CustomerManagementService.CallAsync((s, r) => s.AddClientLinksAsync(r), request)); }
public async Task <AddClientLinksResponse> AddClientLinksAsync(ApiAuthentication auth, ClientLink[] clientLinks) { var request = new AddClientLinksRequest { ClientLinks = clientLinks, }; try { SetAuthHelper.SetAuth(auth, request); return(await Check().AddClientLinksAsync(request)); } catch (Exception ex) { Log(new LogEventArgs(ServiceType.CustomerManagement, "AddClientLinksAsync", ex.Message, new { Request = request }, ex)); } return(null); }
// Initiates the client link process to manage the account of another customer. // Sends an invitation from an agency to a potential client. private async Task<AddClientLinksResponse> AddClientLinksAsync(IList<ClientLink> clientLinks) { var request = new AddClientLinksRequest { ClientLinks = clientLinks }; return (await Service.CallAsync((s, r) => s.AddClientLinksAsync(r), request)); }