Esempio n. 1
0
        private EmailList CreateEmailList()
        {
            EmailList e = new EmailList();

            e.Name  = TextBoxName.Text;
            e.Email = TextBoxEmail.Text;
            //TODO: Add code to add collection of tags
            return(e);
        }
Esempio n. 2
0
        protected void ButtonSubmitEmail_Click(object sender, EventArgs e)
        {
            Trigger4.AppCode.EmailListModel model = new Trigger4.AppCode.EmailListModel();

            EmailList el = CreateEmailList();

            LabelSuccess.Text = model.InsertEmailList(el);

            ClearFields();
        }