Exemplo n.º 1
0
        public void Serve(Patient patient, string diagnos, DateTime date)
        {
            patient.my_history.Add(date, diagnos);
            string day = DateTime.Now.DayOfWeek.ToString().ToLower();

            calendar.MakeFree(patient, day);
            my_patients.Add(patient);
            Patient.WritePatFile();
        }