use IEntryRepository in EntriesController