public PhotoService(IUnitOfWork uow, IRepository <DalPhoto> repository, ICategoryPhotoRepository categoryRepository)
 {
     this.uow                = uow;
     this.photoRepository    = repository;
     this.categoryRepository = categoryRepository;
     logger = GlobalLogger.Logger;
 }
コード例 #2
0
 public CategoryPhotoManager(ICategoryPhotoRepository iCategoryPhotoRepository) :
     base(iCategoryPhotoRepository)
 {
     _iCategoryPhotoRepository = iCategoryPhotoRepository;
 }
コード例 #3
0
 public CategoryPhotoService(IUnitOfWork uow, ICategoryPhotoRepository repository)
 {
     this.uow = uow;
     this.ctgrPhotoRepository = repository;
     logger = GlobalLogger.Logger;
 }