Found the solution:
You have to use Faker.PickRandom<> method
i.TypeOfSchedule = Faker.PickRandom<Schedule>(); // with 'Schedule' of type Enum :-)
Found the solution:
You have to use Faker.PickRandom<> method
i.TypeOfSchedule = Faker.PickRandom<Schedule>(); // with 'Schedule' of type Enum :-)