public JsonResult SearchUsers(string Prefix, int orgID)
        {
            var users = new DisplayProfileBL().GetUsersByOrganization(orgID);

            Prefix = Prefix.ToLower();
            //Searching records from list using LINQ query
            var searchedUsers = users.Where(w => w.FirstName.ToLower().StartsWith(Prefix) || w.LastName.ToLower().StartsWith(Prefix)).Select(s => new
            {
                Route = "/Home/Wall?user="******" " + s.LastName
            });

            return(Json(searchedUsers, JsonRequestBehavior.AllowGet));
        }
        public ActionResult DisplayProfile(int?id)
        {
            if (id == null)
            {
                var DPBL = new DisplayProfileBL();
                return(View(DPBL.GetUsers()));
            }
            else
            {
                var DPBL = new DisplayProfileBL();

                return(View(DPBL.GetUsersByOrganization(id)));
            }
        }