Example #1
0
        public async Task <TicketTypeInfos> GetTicketTypeInfos(HttpClient client, string ticketTypeId)
        {
            var url = $"/TicketType/" + ticketTypeId + "/Infos";;

            return(await BaseUrlCaller <TicketTypeInfos> .GetFromBaseUrl(configuration, client, url));

            //// /TicketType/{ticketTypeId}/Infos
        }
Example #2
0
        public async Task <EventDetails> GetEvent(HttpClient client, string eventId)
        {
            var url = $"/Event/" + eventId;

            return(await BaseUrlCaller <EventDetails> .GetFromBaseUrl(configuration, client, url));
        }
Example #3
0
        public async Task <EventOverviewList> GetEventOverviews(HttpClient client, string eventGroupId)
        {
            var url = $"/EventGroup/Events?eventGroupId={eventGroupId}&languageCode=de";

            return(await BaseUrlCaller <EventOverviewList> .GetFromBaseUrl(configuration, client, url));
        }
Example #4
0
        public async Task <IList <EventGroupOverview> > GetEventGroupOverviews(HttpClient client, string organizerId)
        {
            var url = "/EventGroups?organizerId=" + organizerId;

            return(await BaseUrlCaller <IList <EventGroupOverview> > .GetFromBaseUrl(configuration, client, url));
        }
Example #5
0
        public async Task <TicketTypes> GetTicketTypes(HttpClient client, string eventId)
        {
            var url = $"/Event/" + eventId + "/TicketTypes";;

            return(await BaseUrlCaller <TicketTypes> .GetFromBaseUrl(configuration, client, url));
        }
Example #6
0
        public async Task <EventIdDistributors> GetEventIdDistributors(HttpClient client, string organizerId)
        {
            var url = "/Events?organizerId=" + organizerId;

            return(await BaseUrlCaller <EventIdDistributors> .GetFromBaseUrl(configuration, client, url));
        }
Example #7
0
        public async Task <IList <Organizer> > GetOrganizers(HttpClient client)
        {
            var url = "/LoginUser/Organizers";

            return(await BaseUrlCaller <IList <Organizer> > .GetFromBaseUrl(configuration, client, url));
        }