示例#1
0
        public GetAppointmentById_Result GetAppointmentById(int id)
        {
            using (var context = new MVC_IF4101MVCLPACEntities())
            {
                var appointment = context.GetAppointmentById(id).Single();

                return(appointment);
            }
        }