示例#1
0
        private void processDoctorSelection()
        {
            if (SelectDoctor == null)
            {
                Tickets = null;
                return;
            }

            string content = _ticketCollectionDataResolver.RequestProcess(SelectClinic.Id, SelectDoctor.Id);

            Tickets           = _ticketCollectionParser.Parse(content);
            IsTicketsExpanded = true;
        }
示例#2
0
        private IReadOnlyList <ITicket> receive(IObserveData observeData)
        {
            var ticketCollectionJson = _ticketCollectionDataResolver.RequestProcess(observeData.ClinicId, observeData.DoctorId);

            return(_ticketCollectionParser.Parse(ticketCollectionJson));
        }
示例#3
0
        private IReadOnlyCollection <ITicket> loadTickets(IClinic clinic, IDoctor doctor)
        {
            string content = _ticketCollectionDataResolver.RequestProcess(clinic.Id, doctor.Id);

            return(_ticketCollectionParser.Parse(content));
        }