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