Exemplo n.º 1
0
        /// <summary>
        /// Edit Contact Mobile
        /// </summary>
        /// <param name="id">contactID</param>
        /// <returns>action result</returns>
        public ActionResult EditContactMobile(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            ContactMobile mobile = _contactBL.GetContactMobileByID(id);

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