public ApplicationFeatureDomainServiceTest()
 {
     _mediator = Substitute.For <IMediator>();
     _applicationFeatureRepository    = Substitute.For <IApplicationFeatureRepository>();
     _featureRepository               = Substitute.For <IFeatureRepository>();
     _applicationFeatureDomainService = new ApplicationFeatureDomainService(_mediator, _applicationFeatureRepository, _featureRepository);
 }
예제 #2
0
 public FeatureAppService(
     IUnitOfWork unitOfWork,
     IApplicationRepository applicationRepository,
     IFeatureRepository featureRepository,
     IFeatureDomainService featureDomainService,
     IApplicationFeatureDomainService applicationFeatureDomainService,
     IApplicationFeatureRepository applicationFeatureRepository) : base(unitOfWork)
 {
     _applicationRepository           = applicationRepository;
     _featureRepositoriy              = featureRepository;
     _featureDomainService            = featureDomainService;
     _applicationFeatureDomainService = applicationFeatureDomainService;
     _applicationFeatureRepository    = applicationFeatureRepository;
 }