diff --git a/Gordon360/Controllers/MembershipsController.cs b/Gordon360/Controllers/MembershipsController.cs index 78070cd4e..73b88c5d2 100644 --- a/Gordon360/Controllers/MembershipsController.cs +++ b/Gordon360/Controllers/MembershipsController.cs @@ -247,21 +247,6 @@ public async Task> SetPrivacyAsync(int membershipID return Ok(updatedMembership); } - /// Update an existing membership item to be private or not - /// The membership to set the privacy of - /// The new value of Privacy for the membership - /// Calls the server to make a call and update the database with the changed information - /// The updated membership as a MembershipView object - [HttpPatch] - [Route("{membershipID}/privacy")] - [StateYourBusiness(operation = Operation.UPDATE, resource = Resource.MEMBERSHIP_PRIVACY)] - public async Task> SetPrivacyAsync(int membershipID, [FromBody] bool isPrivate) - { - - var updatedMembership = await _membershipService.SetPrivacyAsync(membershipID, isPrivate); - return Ok(updatedMembership); - } - /// Delete an existing membership /// The identifier for the membership to be deleted /// Calls the server to make a call and remove the given membership from the database