Bogus.Faker: How to pick a random enum value
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 🙂