public string GetMethod(string methodName, BookingRequest bookingId) { EmailTemplate p1 = new EmailTemplate();//类 Type t = p1.GetType(); var mi = t.GetMethod(methodName, new Type[] { typeof(BookingRequest) }); //得到对应的方法 //通过反射执行ReturnAutoID方法,返回AutoI…