public ActionResult CreateRecommendation(int ID)
        {
            NewRecommendation model = new NewRecommendation();

            model.Pacient = PacientServices.ClassObject.GetPacient(ID);
            model.Doctors = DoctorServices.ClassObject.GetAllTheDoctors();

            return(PartialView(model));
        }
        public ActionResult CreateRecommendation(NewRecommendation model)
        {
            var newRecommendation = new Recommendation();

            newRecommendation.IDPacient = model.IDPacient;
            //newRecommendation.IDDoctor = model.IDDoctor;
            newRecommendation.Data = model.Data;
            newRecommendation.Text = model.Text;
            DoctorServices.ClassObject.SaveRecommendation(newRecommendation);

            return(RedirectToAction("PacientsTable"));
        }