Пример #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 }));
 }