Exemplo n.º 1
0
        public ActionResult MailListPage(string mail, string telegram, string act)
        {
            if (act == "search")
            {
                Parameters parameters;
                try
                {
                    parameters = NotificationList.SearchParam(mail, telegram);
                }
                catch (Exception e)
                {
                    parameters = null;
                }

                return(PartialView(parameters));
            }
            else
            {
                NotificationList.Drop(mail, telegram);
                return(PartialView(null));
            }
        }