コード例 #1
0
        /// <summary>
        /// Edit Contact Email
        /// </summary>
        /// <param name="id">contactID</param>
        /// <returns>action result</returns>
        public ActionResult EditContactEmail(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            ContactEmail mobile = _contactBL.GetContactEmailByID(id);

            if (mobile == null)
            {
                return(HttpNotFound());
            }
            return(PartialView("_AddContactEmail", mobile));
        }