示例#1
0
 public ActionResult RemoveMember(Guid organisationId)
 {
     GroupMembersHelpers.RemoveMember(db, organisationId);
     return(Json(new { success = true }));
 }
示例#2
0
 public ActionResult RejoinGroup(Guid groupId)
 {
     GroupMembersHelpers.RejoinGroup(db, groupId, AppUserHelpers.GetOrganisationIdFromUser(db, User), User);
     return(Json(new { success = true }));
 }
示例#3
0
 public ActionResult AddOrganisationToGroup(Guid groupId, Guid organisationId)
 {
     GroupMembersHelpers.CreateGroupMember(db, groupId, organisationId, User);
     return(Json(new { success = true }));
 }