public HttpResponseMessage DeleteMember(int memberId)
        {
            if (_currentUserService.MemberType != MemberType.Admin || !_accountService.BelongsToThisFamily(memberId))
            {
                throw new UnauthorizedAccessException();
            }

            _familyService.DeleteMember(memberId);
            return(Request.CreateResponse(HttpStatusCode.OK, "Member successfully deleted."));
        }