Exemplo n.º 1
0
        public static LisaWheeler ConvertToLisaWheeler(User user)
        {
            var site = new SCBWIContext();
            var lisa = new LisaWheeler();

            lisa.FirstName = user.FirstName;
            lisa.LastName  = user.LastName;
            lisa.Address1  = user.Address1;
            lisa.Address2  = user.Address2;
            lisa.City      = user.City;
            lisa.State     = user.State;
            lisa.Zip       = user.PostalCode;
            lisa.Email     = user.Email;
            lisa.Phone     = user.Phone;
            lisa.Account   = user.Account;

            return(lisa);
        }
Exemplo n.º 2
0
 public static void LWEmailDeclined(LisaWheeler lisa)
 {
     new MailController().LWDeclined(lisa).Deliver();
 }
Exemplo n.º 3
0
 public static void LWEmailPending(LisaWheeler lisa)
 {
     new MailController().LWPending(lisa).Deliver();
 }
Exemplo n.º 4
0
 public static void LWEmailComplete(LisaWheeler lisa)
 {
     new MailController().LWComplete(lisa).Deliver();
 }