CRM.Controllers.ContactController.Index C# (CSharp) Метод

Index() приватный Метод

private Index ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult
        public ActionResult Index()
        {
            var id = WebSecurity.CurrentUserId;
            var contacts = unitOfWork.contactRepository.GetData();
                contacts = from n in contacts
                          where (n.UserId == id)
                          select n;
            return View(contacts);
        }