/// <summary>
        /// Converts the get number of members report response.
        /// </summary>
        /// <param name="managerResponse">The manager response.</param>
        /// <returns></returns>
        private GetNumberOfMembersReportResponsev2 ConvertGetNumberOfMembersReportResponse(GetNumberOfMembersReportResponsev1 managerResponse)
        {
            GetNumberOfMembersReportResponsev2 response = new GetNumberOfMembersReportResponsev2();

            response.GolfClubId      = managerResponse.GolfClubId;
            response.NumberOfMembers = managerResponse.NumberOfMembers;

            return(response);
        }
        public async Task <IActionResult> GetNumberOfMembersReport(Guid golfClubId,
                                                                   CancellationToken cancellationToken)
        {
            GetNumberOfMembersReportResponsev1 managerResponse = await this.ReportingManager.GetNumberOfMembersReport(golfClubId, cancellationToken);

            GetNumberOfMembersReportResponsev2 response = this.ConvertGetNumberOfMembersReportResponse(managerResponse);

            return(this.Ok(response));
        }