public ActionResult RemoveMember(Guid organisationId) { GroupMembersHelpers.RemoveMember(db, organisationId); return(Json(new { success = true })); }
public ActionResult RejoinGroup(Guid groupId) { GroupMembersHelpers.RejoinGroup(db, groupId, AppUserHelpers.GetOrganisationIdFromUser(db, User), User); return(Json(new { success = true })); }
public ActionResult AddOrganisationToGroup(Guid groupId, Guid organisationId) { GroupMembersHelpers.CreateGroupMember(db, groupId, organisationId, User); return(Json(new { success = true })); }