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;
 }