Пример #1
0
        public ActionResult FindedUsers(string name, string surname, string middleName)
        {
            List <Users> findedUsersList = usersDAO.FindUsers(surname, name, middleName);
            Users        currentUser     = (Users)Session["session"];

            findedUsersList.RemoveAll(user => user.ID == currentUser.ID);
            return(PartialView(findedUsersList));
        }