public void GetAssignedPatrols()
        {
            var _client = new ServiceLayerClient();

            AssignedPatrols.Clear();
            var patrols = _client.GetAssignedPatrols(NotificationId);

            foreach (var assignedPatrol in patrols)
            {
                AssignedPatrols.Add(assignedPatrol);
            }

            GetImagesAndVideosForAssignedPatrols();
        }
Пример #2
0
        public ObservableCollection <PatrolDTO> GetAssignedPatrols(long eventId)
        {
            var _client = new ServiceLayerClient();

            return(new ObservableCollection <PatrolDTO>((_client.GetAssignedPatrols(eventId)).ToList()));
        }