Esempio n. 1
0
 public UpdateCityDistrictCommandHandler(ICityDistrictGetterService cityDistrictGetterService,
                                         ICityGetterService cityGetterService, ICityDistrictVerificationService cityDistrictVerificationService,
                                         ICityDistrictRepository cityDistrictRepository)
 {
     _cityDistrictGetterService       = cityDistrictGetterService;
     _cityGetterService               = cityGetterService;
     _cityDistrictVerificationService = cityDistrictVerificationService;
     _cityDistrictRepository          = cityDistrictRepository;
 }
Esempio n. 2
0
 public CityDistrictVerificationService(ICityDistrictRepository cityDistrictRepository, ICityDistrictGetterService cityDistrictGetterService)
 {
     _cityDistrictRepository    = cityDistrictRepository;
     _cityDistrictGetterService = cityDistrictGetterService;
 }
Esempio n. 3
0
 public CityDistrictGetterServiceTest()
 {
     _cityDistrictRepositoryMock = new Mock <ICityDistrictRepository>();
     _service = new CityDistrictGetterService(_cityDistrictRepositoryMock.Object);
 }
Esempio n. 4
0
 public GetCityDistrictQueryHandler(ICityDistrictGetterService cityDistrictGetterService, IMapper mapper)
 {
     _cityDistrictGetterService = cityDistrictGetterService;
     _mapper = mapper;
 }
Esempio n. 5
0
 public DeleteCityDistrictCommandHandler(ICityDistrictGetterService cityDistrictGetterService,
                                         ICityDistrictRepository cityDistrictRepository)
 {
     _cityDistrictGetterService = cityDistrictGetterService;
     _cityDistrictRepository    = cityDistrictRepository;
 }