public IActionResult Contact(ContactViewModel model)
        {
            BuggyMail mail = new BuggyMail();

            mail.SendEmail(model.Message, "whocares-at-buggymail");
            return(View("Index"));
        }
        public ActionResult SendEmail(string message)
        {
            BuggyMail mail = new BuggyMail();

            mail.SendEmail(message, "whocares-at-buggymail");
            return(View());
        }
        public IActionResult Index(string emailid)
        {
            BuggyMail mail = new BuggyMail();

            mail.SendEmail(emailid, "whocares-at-buggymail");

            return(View());
        }
    protected void btnContact_Click(object sender, EventArgs e)
    {
        BuggyMail mail = new BuggyMail();

        mail.SendEmail(txtMessage.Text, "whocares-at-buggymail");
    }
 protected void btnContact_Click(object sender, EventArgs e)
 {
     BuggyMail mail = new BuggyMail();
     mail.SendEmail(txtMessage.Text, "whocares-at-buggymail");
 }