public DallasArtContext()
 {
     NeedMembershipStatus = false;
     IsEnrollment         = false;
     IsRegistration       = false;
     IsContact            = false;
     IsPresetEnrollment   = false;
     IsPresetRegistration = false;
     IsFreeRegistration   = false;
     NeedsOption          = true;
     NeedsPhone           = true;
     NeedsEmail           = true;
     NeedsPassword        = false;
     ContactRequest       = new ContactRequestViewModel();
     Location             = new MemberEnrollment();
     SelfIdentification   = new SelfIdentificationViewModel();
 }
Exemple #2
0
        public static bool SetupFromInvitation(MemberEnrollment location, ref RegistrationViewModel model)
        {
            if (location != null)
            {
                // check location is setup as satellite center
                //     if (location.SingleLocationCenter || !location.SatelliteCenter)
                //     return false;


                //     model.CenterGroupIdRequest = location.CenterGroupId;
                //      model.CenterNameRequest = location.CenterName.Replace("_", " ");
                //       model.PrimaryCenterName = location.PrimaryCenterName.Replace("_", " ");
                //       model.PrimaryCenterGroupId = location.PrimaryCenterGroupId;
                model.EzLinkRequest = true;

                return(true);
            }
            return(false);
        }
Exemple #3
0
 public void Update(MemberEnrollment record)
 {
     _orderTrackingRepository.Update(record);
 }
Exemple #4
0
 /// <summary>
 /// Logs the specified record.
 /// </summary>
 /// <param name="record">The record.</param>
 public void Create(MemberEnrollment record)
 {
     _orderTrackingRepository.Insert(record);
 }