Ejemplo n.º 1
0
 public UpdateFlatForRentAnnouncementCommandHandler(IFlatForRentAnnouncementGetterService flatForRentAnnouncementGetterService,
                                                    ICityVerificationService cityVerificationService, ICityDistrictVerificationService cityDistrictVerificationService,
                                                    IFlatForRentAnnouncementRepository flatForRentAnnouncementRepository)
 {
     _flatForRentAnnouncementGetterService = flatForRentAnnouncementGetterService;
     _cityVerificationService           = cityVerificationService;
     _cityDistrictVerificationService   = cityDistrictVerificationService;
     _flatForRentAnnouncementRepository = flatForRentAnnouncementRepository;
 }
Ejemplo n.º 2
0
 public FlatForRentAnnouncementGetterServiceTest()
 {
     _flatForRentAnnouncementRepositoryMock = new Mock <IFlatForRentAnnouncementRepository>();
     _service = new FlatForRentAnnouncementGetterService(_flatForRentAnnouncementRepositoryMock.Object);
 }
Ejemplo n.º 3
0
 public DeleteFlatForRentAnnouncementCommandHandler(IFlatForRentAnnouncementGetterService flatForRentAnnouncementGetterService,
                                                    IFlatForRentAnnouncementRepository flatForRentAnnouncementRepository)
 {
     _flatForRentAnnouncementGetterService = flatForRentAnnouncementGetterService;
     _flatForRentAnnouncementRepository    = flatForRentAnnouncementRepository;
 }
Ejemplo n.º 4
0
 public GetFlatForRentAnnouncementQueryHandler(IFlatForRentAnnouncementGetterService flatForRentAnnouncementGetterService,
                                               IMapper mapper)
 {
     _flatForRentAnnouncementGetterService = flatForRentAnnouncementGetterService;
     _mapper = mapper;
 }