Mhotivo.Controllers.ParentController.ContactEdit C# (CSharp) Method

ContactEdit() private method

private ContactEdit ( long id ) : System.Web.Mvc.ActionResult
id long
return System.Web.Mvc.ActionResult
        public ActionResult ContactEdit(long id)
        {
            ContactInformation thisContactInformation = _contactInformationRepository.GetById(id);
            var contactInformation = new ContactInformationEditModel
                                     {
                                         Type = thisContactInformation.Type,
                                         Value = thisContactInformation.Value,
                                         Id = thisContactInformation.Id,
                                         People = thisContactInformation.People,
                                         Controller = "Parent"
                                     };
            return View("ContactEdit", contactInformation);
        }