Beispiel #1
0
        public virtual ActionResult UserHubs(string userName)
        {
            var userhubs = new Cats.Models.Hubs.UserHubsModel {
                UserHubs = GetUserHubs(userName).OrderBy(o => o.Name).ToList()
            };

            Session["Hubs"]     = userhubs;
            Session["UserName"] = userName;
            return(PartialView("Users/UserHubs", userhubs));
        }
Beispiel #2
0
 public virtual ActionResult UserHubs(string userName)
 {
     var userhubs = new Cats.Models.Hubs.UserHubsModel {UserHubs = GetUserHubs(userName).OrderBy(o => o.Name).ToList()};
     Session["Hubs"] = userhubs;
     Session["UserName"] = userName;
     return PartialView( "Users/UserHubs", userhubs);
 }