/// <summary>
 /// 附属用户登录
 /// </summary>
 /// <param name="fsyh"></param>
 /// <returns></returns>
 public ActionResult Fsyh(FsyhModel fsyh)
 {
     var files = (from f in fsyhGxFilesDB.gxgl_fsyhgxb
                  where f.fsyh_id == fsyh.FsyhInfo.fsyh_id
                  select f).ToList();
     List<FsyhGxFileEntity> fsyhEilesEntities = new List<FsyhGxFileEntity>();
     foreach (var file in files)
     {
         var fileInfo = (from fi in filesDB.wjgl_files
                         where fi.file_id == file.file_id
                         select fi).First();
         FsyhGxFileEntity fsyhEilesEntity = new FsyhGxFileEntity();
         fsyhEilesEntity.FileInfo = fileInfo;
         fsyhEilesEntities.Add(fsyhEilesEntity);
     }
     fsyh.FsyhGxInfo = fsyhEilesEntities;
     return View(fsyh);
 }
 public ActionResult FsyhFileList(int fsyhId)
 {
     var files = (from f in fsyhGxFilesDB.gxgl_fsyhgxb
                  where f.fsyh_id == fsyhId
                  select f).ToList();
     List<FsyhGxFileEntity> fsyhFilesEntities = new List<FsyhGxFileEntity>();
     foreach (var file in files)
     {
         var fileInfo = (from fi in filesDB.wjgl_files
                         where fi.file_id == file.file_id
                         select fi).First();
         FsyhGxFileEntity fsyhFilesEntity = new FsyhGxFileEntity();
         fsyhFilesEntity.FileInfo = fileInfo;
         fsyhFilesEntities.Add(fsyhFilesEntity);
     }
     var model = new FsyhFileListModel
     {
         FsyhFilesEntities = fsyhFilesEntities
     };
     return View(model);
 }