Ejemplo n.º 1
0
        private async Task SendMessage(Schedule schedule, MessageBase message, bool isArrival = true)
        {
            var response = await httpClient.PostMessage(remoteAddress, message);

            if (response.StatusCode == System.Net.HttpStatusCode.OK)
            {
                scheduleService.Update(schedule);
            }
        }