Refactored the TimeIntervalTypeRepository and TimeIntervalTypeService to use the generic TypeRepository and TypeService base classes.