public async Task <ActionResult> connectedprofilestothisgroup(string selectedgroupid) { Session["selectedgroupid"] = selectedgroupid; Dictionary <GroupProfile, object> dict_ProfileConnected = new Dictionary <GroupProfile, object>(); dict_ProfileConnected = await SBHelper.GetGroupProfilesByGroupId(selectedgroupid); return(PartialView("_ProfilesConnectedToGroupPartial", dict_ProfileConnected)); }
public async Task <ActionResult> BindFacebookProfiles(string type) { Api.Team.Team objApiTeam = new Api.Team.Team(); ViewBag.type = type; string groupid = Session["group"].ToString(); //Domain.Socioboard.Domain.Team team = (Domain.Socioboard.Domain.Team)new JavaScriptSerializer().Deserialize(objApiTeam.GetTeamByGroupId(Session["group"].ToString()), typeof(Domain.Socioboard.Domain.Team)); //Api.TeamMemberProfile.TeamMemberProfile objApiTeamMemberProfile = new Api.TeamMemberProfile.TeamMemberProfile(); //List<Domain.Socioboard.Domain.TeamMemberProfile> alstprofiles = (List<Domain.Socioboard.Domain.TeamMemberProfile>)new JavaScriptSerializer().Deserialize(objApiTeamMemberProfile.GetTeamMemberProfilesByTeamId(team.Id.ToString()), typeof(List<Domain.Socioboard.Domain.TeamMemberProfile>)); Dictionary <Domain.Socioboard.Domain.GroupProfile, object> alstprofiles = await SBHelper.GetGroupProfilesByGroupId(groupid); return(PartialView("_FacebookProfilePartial", alstprofiles)); }