Esempio n. 1
0
        public async Task <IActionResult> Contact(ContactViewModel b)
        {
            try
            {
                b.idcontactType = byte.Parse(b.qution.idqu);
            }
            catch
            {
                Redirect("/Home/Error/" + (int)error.Exption);
            }
            await b.Procass(_context);

            b.email   = "";
            b.message = "*";
            b.name    = "";
            return(View(b));
        }