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