public PrimePartService(IPersistentRepository <PrimePart> repo) { _repo = repo; }
public PrimeItemService(IPersistentRepository <PrimeItem> repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
/// <summary> /// Default constructor /// </summary> /// <param name="persistentRepository"></param> /// <param name="cacheStore"></param> public FirstLevelCacheManager(IPersistentRepository <TEntity> persistentRepository, IFirstLevelCacheStore <TEntity> cacheStore) { PersistentRepository = persistentRepository; CacheStore = cacheStore; }
public ResourceService(IPersistentRepository <Resource> repo) { _repo = repo; }