public HousingController() { IUnitOfWork _unitOfWork = new UnitOfWork(); _housingService = new HousingService(_unitOfWork); _accountService = new AccountService(_unitOfWork); _administratorService = new AdministratorService(_unitOfWork); _profileService = new ProfileService(_unitOfWork); }
public HouseController(IHousingService _houseService) { houseService = _houseService; }