Exemplo n.º 1
0
 public HouseController(IHouseRepo context)
 {
     _context = context;
 }
Exemplo n.º 2
0
 public ApartmentsController(IApartmentRepo repo, IMapper mapper, IHouseRepo houseRepo)
 {
     _repo      = repo;
     _mapper    = mapper;
     _houseRepo = houseRepo;
 }
Exemplo n.º 3
0
 public HouseService(IHouseRepo repo)
 {
     _repo          = repo;
     featureService = new FeatureService((IFeatureRepo)repo);
 }
Exemplo n.º 4
0
 public HousesController(IHouseRepo repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }