public FineOffice.Modules.HR_Personnel Update(FineOffice.Modules.HR_Personnel model)
 {
     dal.Initialization();
     FineOffice.Entity.HR_Personnel entity = new Entity.HR_Personnel
     {
         ID             = model.ID,
         Remark         = model.Remark,
         Address        = model.Address,
         BankingAccount = model.BankingAccount,
         DateOfBirth    = model.DateOfBirth,
         DepartmentID   = model.DepartmentID,
         EducationID    = model.EducationID,
         Email          = model.Email,
         EntryDate      = model.EntryDate,
         ExitDate       = model.ExitDate,
         HomeTelephone  = model.HomeTelephone,
         JobID          = model.JobID,
         Linkman        = model.Linkman,
         Mobile         = model.Mobile,
         Name           = model.Name,
         Post           = model.Post,
         NativePlace    = model.NativePlace,
         PersonnelNO    = model.PersonnelNO,
         Sex            = model.Sex,
         PinyinCode     = model.PinyinCode,
         Stop           = model.Stop,
     };
     dal.Update(entity);
     dal.Dispose();
     return(null);
 }
 public void Delete(Modules.HR_Personnel model)
 {
     dal.Initialization();
     FineOffice.Entity.HR_Personnel entity = new Entity.HR_Personnel
     {
         ID = model.ID,
     };
     dal.Delete(entity);
     dal.Dispose();
 }