//贷款类型
 public ActionResult Index()
 {
     ServiceReference2.GetClient        TClient = new ServiceReference2.GetClient();
     ServiceReference2.YCLoanTypeData   n       = new ServiceReference2.YCLoanTypeData();
     ServiceReference2.YCLoanTypeData[] result  = TClient.DoWorkType(n);
     return(View(result.ToList()));
 }
 //显示类型详细信息、登记
 public ActionResult Detail(int id)
 {
     ServiceReference2.GetClient      TClient = new ServiceReference2.GetClient();
     ServiceReference2.YCLoanTypeData n       = new ServiceReference2.YCLoanTypeData();
     Session["key"] = n.LT_Id = id;
     ServiceReference2.YCLoanTypeData[] result = TClient.DoWorkType(n);
     return(View(result.ToList()));
 }