Beispiel #1
0
 public CreateCityDistrictCommandHandler(ICityGetterService cityGetterService, ICityDistrictVerificationService cityDistrictVerificationService,
                                         ICityDistrictRepository cityDistrictRepository, IMapper mapper)
 {
     _cityGetterService = cityGetterService;
     _cityDistrictVerificationService = cityDistrictVerificationService;
     _cityDistrictRepository          = cityDistrictRepository;
     _mapper = mapper;
 }
Beispiel #2
0
 public UpdateCityDistrictCommandHandler(ICityDistrictGetterService cityDistrictGetterService,
                                         ICityGetterService cityGetterService, ICityDistrictVerificationService cityDistrictVerificationService,
                                         ICityDistrictRepository cityDistrictRepository)
 {
     _cityDistrictGetterService       = cityDistrictGetterService;
     _cityGetterService               = cityGetterService;
     _cityDistrictVerificationService = cityDistrictVerificationService;
     _cityDistrictRepository          = cityDistrictRepository;
 }
Beispiel #3
0
 public CityDistrictRepositoryTest(CityDistrictRepositoryTestFixture fixture)
 {
     _dbContext  = fixture.DbContext;
     _mapperMock = fixture.MapperMock;
     _orderByExpressionCreatorMock = fixture.OrderByExpressionCreatorMock;
     _memoryCacheMock = fixture.MemoryCacheMock;
     _repository      = fixture.Repository;
     _cityDistrict    = fixture.CityDistrict;
     _cityEntity      = fixture.CityEntity;
     _fixture         = fixture;
 }
Beispiel #4
0
 public CityDistrictVerificationService(ICityDistrictRepository cityDistrictRepository, ICityDistrictGetterService cityDistrictGetterService)
 {
     _cityDistrictRepository    = cityDistrictRepository;
     _cityDistrictGetterService = cityDistrictGetterService;
 }
Beispiel #5
0
 public CityDistrictGetterService(ICityDistrictRepository cityDistrictRepository)
 {
     _cityDistrictRepository = cityDistrictRepository;
 }
Beispiel #6
0
 public GetCityDistrictsQueryHandler(ICityDistrictRepository cityDistrictRepository, IMapper mapper)
 {
     _cityDistrictRepository = cityDistrictRepository;
     _mapper = mapper;
 }
Beispiel #7
0
 public DeleteCityDistrictCommandHandler(ICityDistrictGetterService cityDistrictGetterService,
                                         ICityDistrictRepository cityDistrictRepository)
 {
     _cityDistrictGetterService = cityDistrictGetterService;
     _cityDistrictRepository    = cityDistrictRepository;
 }