Beispiel #1
0
        public bool PutContact(Contact contact)
        {
            try
            {
                ContactDAL repository = new ContactDAL();
                bool       operation  = repository.PutContact(contact);

                if (operation == true)
                {
                    //Util.Util mail = new Util.Util();
                    //mail.SendMail(contact.Name, contact.Email, contact.Message);
                }

                return(operation);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }