Update Repository.cs

Added some needed implementations.