示例#1
0
 public ActionResult CV(MessageToMe message)
 {
     if (message.Email != null)
     {
         EmailOrderProcessor email = new EmailOrderProcessor(new EmailSettings());
         email.ContactWotchMe(message);
         return(View("Dziekuje"));
     }
     else
     {
         return(View("CV"));
     }
 }
示例#2
0
        public ActionResult Contact(MessageToMe message)
        {
            if (ModelState.IsValid)
            {
                EmailOrderProcessor email = new EmailOrderProcessor(new EmailSettings());

                email.ContactWotchMe(message);

                return(View("Dziekuje"));
            }
            else
            {
                return(View("Contact"));
            }
        }