public async Task <IActionResult> EditClient(ClientsDto client) { return(await Task.Run(() => CallApi(() => _clientsService.EditClient(client)))); }