コード例 #1
0
 // check om all creterier der det i text felterne
 // add til en contact list og send en email
 public void OnPost()
 {
     if (!ModelState.IsValid)
     {
     }
     else
     {
         _customerService.AddCustomerContact(Name, Email, Description);
         _customerService.SendEmailContact(Name, Email, Description);
     }
 }