public MemberEntity GetMemberById(int id) { if (!memberRepository.ContainsId(id)) { throw new ArgumentException($"This member is missing {id}! "); } return(memberRepository.GetMemberById(id)); }