Esempio n. 1
0
 // GET: GroupController index page. Show all groups and the ones you can join (not already apart of)
 public ActionResult Index()
 {
     try
     {
         return(View(GroupBL.GetGroupsToDisplay(_userManager.GetUserId(User))));
     }
     catch (Exception e)
     {
         TempData["sErrMsg"] = e.Message;
         return(View());
         //return Redirect("~/");
     }
 }