Using the repository pattern with WPF

Hi,
In the course, after learning how to implement the Reposotory pattern to structure my data access, the UnitOfWork is not used in the WPF example. Instead, Mosh uses the dbContext directly. Why? Is it not possible to use?