public List <MembershipModel> GetMemberships()
 {
     try
     {
         return(_membershipRepository.GetMemberships()
                .ToList());
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }