Exemplo n.º 1
0
        public HousingController()
        {
            IUnitOfWork _unitOfWork = new UnitOfWork();

            _housingService       = new HousingService(_unitOfWork);
            _accountService       = new AccountService(_unitOfWork);
            _administratorService = new AdministratorService(_unitOfWork);
            _profileService       = new ProfileService(_unitOfWork);
        }
Exemplo n.º 2
0
 public HouseController(IHousingService _houseService)
 {
     houseService = _houseService;
 }