private Task <CommonOrganisationType[]> InitialiseOrganisationTypes()
        {
            return(_client.GetIdentifiableOrganisationTypes()
                   .ContinueWith(t =>
            {
                // switch the organisation types provided by the API back to the organisation type used locally
                var filteredOrganisationTypes = t.Result
                                                .Select(referenceDataOrganisationType => referenceDataOrganisationType.ToCommonOrganisationType())
                                                .ToArray();

                return filteredOrganisationTypes;
            }));
        }