private JsonResult ToTrainJson(ProjectMain pma, ProjectExtend pe)
 {
     return Json(new
     {
         success = true,
         TrainingTarget = pma.TrainingTarget,
         NumOfPerson = pma.NumOfPerson,
         ReceivedTime = pma.ReceivedTime,
         Days = pma.Days,
         ExpectTime = pma.ExpectTime,
         CourseTitle = pma.CourseTitle,
         ProjectContact = pe.ProjectContact,
         Decision = pe.Decision,
         ProjectOrigin = pe.ProjectOrigin,
         Rival = pe.Rival,
         Bid = pe.Bid,
         ProjectPossi = pe.ProjectPossi,
         CusProBudget = pe.CusProBudget,
         ProjectEmergency = pe.ProjectEmergency,
         CourseSubject = pe.CourseSubject,
         CourseDetail = pe.CourseDetail,
         CourseOther = pe.CourseOther
     });
 }
 private JsonResult ToConsultJson(Consult cinfo, ProjectExtend extendInfo)
 {
     return Json(new
     {
         success = true,
         Rname = cinfo.Rname,
         Area = cinfo.Area,
         RTelephone = cinfo.RTelephone,
         REmail = cinfo.REmail,
         CusBank = cinfo.CusBank,
         CusMainBranch = cinfo.CusMainBranch,
         CusSubBranch = cinfo.CusSubBranch,
         CusContact = cinfo.CusContact,
         CusTelephone = cinfo.CusTelephone,
         CusEmail = cinfo.CusEmail,
         ProjectRtype = cinfo.ProjectRtype,
         RequireDept = cinfo.RequireDept,
         Duration = cinfo.Duration,
         Relvant = cinfo.Relvant,
         ReceivedTime = cinfo.ReceivedTime,
         ExpectTime = cinfo.ExpectTime,
         ProjectContact = extendInfo.ProjectContact,
         Decision = extendInfo.Decision,
         ProjectOrigin = extendInfo.ProjectOrigin,
         Rival = extendInfo.Rival,
         Bid = extendInfo.Bid,
         ProjectPossi = extendInfo.ProjectPossi,
         CusProBudget = extendInfo.CusProBudget,
         ProjectEmergency = extendInfo.ProjectEmergency,
         CourseSubject = extendInfo.CourseSubject,
         CourseDetail = extendInfo.CourseDetail,
         CourseOther = extendInfo.CourseOther
     });
 }