public async Task <ActionResult <IEnumerable <MembershipDTO> > > List()
        {
            var memberships = await membershipRepository.ListAsync();

            IEnumerable <MembershipDTO> membershipsDTO = new List <MembershipDTO>();

            _mapper.Map(memberships, membershipsDTO);

            return(Ok(membershipsDTO));
        }