public async Task AddContactToClub(string clubName, Pilot pilot) { var exist = _clubMemberRepository.AddPilot(pilot); var clubSpec = new ClubWithSpecification(clubName); Club club = await(_clubRepository.GetAllByIdAsync(clubSpec)); //clubSpec = new ClubWithSpecification(clubName, ClubServiceSpec.IncludePhone); //club1 = club1 = (await _clubRepository.ListAsync(clubSpec)); //clubSpec = new ClubWithSpecification(clubName, ClubServiceSpec.IncludeEmail); //club1 = club1 = (await _clubRepository.ListAsync(clubSpec)); club.AddMember(pilot); await _clubRepository.AddAsync(club); }