public UsersController(IRealEstateRepo userRepo, IMapper mapper,
                        RealEstateContext context)
 {
     this.userRepo = userRepo;
     this._mapper  = mapper;
     this._context = context;
 }
Example #2
0
 public ImageController(IRealEstateRepo userRepo, IMapper mapper, IWebHostEnvironment webHostEnvironment)
 {
     this.userRepo            = userRepo;
     this._mapper             = mapper;
     this._webHostEnvironment = webHostEnvironment;
 }
 public CommentsController(IRealEstateRepo commentRepo, IMapper mapper)
 {
     this.commentRepo = commentRepo;
     _mapper          = mapper;
 }
 public AccountController(IRealEstateRepo userRepo, IMapper mapper)
 {
     this.userRepo = userRepo;
     this._mapper  = mapper;
 }
 public RealEstatesController(IRealEstateRepo realEstateRepo, IMapper mapper)
 {
     this.realEstateRepo = realEstateRepo;
     _mapper             = mapper;
 }
Example #6
0
 public TokenController(IRealEstateRepo realEstateRepo)
 {
     this._realEstateRepo = realEstateRepo;
 }