private static void ValidateName(FileData name) { name.DoesNotContainANumber() .IsNotNull() .IsNotEmpty() .IsNoLongerThan256(); }
private static void ValidateEmployeeNumber(FileData employeeNumber) { employeeNumber.IsNotNull() .IsValidEmployeeNumber(); }
private static void ValidateDepartment(FileData department) { department.IsNotEmpty() .IsNoLongerThan256(); }