private void InitRandomValues() { Specialization = RandomValueGenerator.GetEnumRandomValue <ArchitectureTypeEnum>(); Name = RandomValueGenerator.GetEnumRandomValue <NameEnum>().ToString(); Surname = RandomValueGenerator.GetEnumRandomValue <SurnameEnum>().ToString(); BirthDate = RandomValueGenerator.GetRandomBirthDate(); Phone = RandomValueGenerator.GetPhoneNumber(); ContractId = new Random().Next(); CanSupervise = new Random().Next() % 2 == 0; Pesel = RandomValueGenerator.GetPesel(); }
private void InitRandomValues() { Name = RandomValueGenerator.GetEnumRandomValue <NameEnum>().ToString(); Surname = RandomValueGenerator.GetEnumRandomValue <SurnameEnum>().ToString(); Phone = RandomValueGenerator.GetPhoneNumber(); }