Exemplo n.º 1
0
        /// <summary>
        /// List of Contact Email
        /// </summary>
        /// <param name="contactID">contactID</param>
        /// <returns>action result</returns>
        public ActionResult ContactEmails(int contactID)
        {
            var contactEmails = _contactBL.GetContactEmailsByContactID(contactID);

            if (contactEmails != null)
            {
                contactEmails = contactEmails.OrderBy(m => m.EmailAddress).ToList();
            }
            return(PartialView("_ContactEmails", contactEmails));
        }