Exemple #1
0
        public void Create(RendezModel p)
        {
            Rendez pm = new Rendez();

            pm.Id         = p.Id;
            pm.Date       = p.Date;
            pm.Comment    = p.Comment;
            pm.Patient_Id = p.Patient_Id;
            pm.Patient    = p.Patient;
            rendezvousService.AddRendezvous(pm);
        }
Exemple #2
0
        public RendezModel Get(int id)
        {
            Rendez      p  = rendezvousService.GetRendezvous(id);
            RendezModel pm = new RendezModel();

            pm.Id         = p.Id;
            pm.Date       = p.Date;
            pm.Comment    = p.Comment;
            pm.Patient_Id = p.Patient_Id;
            pm.Patient    = p.Patient;
            return(pm);
        }