コード例 #1
0
        public ActionResult CreateReferral(int Id)
        {
            Doctor ToDoctor;

            ToDoctor = Service.FindById(Id);
            List <DoctorReferralVM> MyEnumerable = new List <DoctorReferralVM>();
            DoctorReferralVM        ReferralData;

            ReferralData             = new DoctorReferralVM();
            ReferralData.DoctorModel = ToDoctor;
            ReferralData.ReasonModel = ReasonRepository.GetAll();
            MyEnumerable.Add(ReferralData);
            return(View(MyEnumerable));
        }
コード例 #2
0
 public Doctor FindById(int id)
 {
     return(doctorService.FindById(id));
 }