public async Task <IActionResult> Delete(string id)
        {
            Membership membership = await membershipRepository.GetDetailAsync(id);

            if (membership == null)
            {
                return(NotFound());
            }

            await membershipRepository.DeleteAsync(membership);

            return(Ok());
        }