private void processDoctorSelection() { if (SelectDoctor == null) { Tickets = null; return; } string content = _ticketCollectionDataResolver.RequestProcess(SelectClinic.Id, SelectDoctor.Id); Tickets = _ticketCollectionParser.Parse(content); IsTicketsExpanded = true; }
private IReadOnlyList <ITicket> receive(IObserveData observeData) { var ticketCollectionJson = _ticketCollectionDataResolver.RequestProcess(observeData.ClinicId, observeData.DoctorId); return(_ticketCollectionParser.Parse(ticketCollectionJson)); }
private IReadOnlyCollection <ITicket> loadTickets(IClinic clinic, IDoctor doctor) { string content = _ticketCollectionDataResolver.RequestProcess(clinic.Id, doctor.Id); return(_ticketCollectionParser.Parse(content)); }