示例#1
0
 public bool LengthOfUKWorkIsValid(TimeSpanViewModel timeSpan)
 {
     if (!RightToWorkInUk.HasValue || RightToWorkInUk.Value != PermissionToWorkEnum.HasVisa)
     {
         return(true);
     }
     return(timeSpan.IsValid());
 }
示例#2
0
 public PrincipalAuthorityRightToWorkViewModel()
 {
     LeaveToRemainTo = new DateViewModel();
     LengthOfUKWork  = new TimeSpanViewModel();
 }