/// <summary> /// /// </summary> public UploadController( IUploadRepository uploadRepository, ITokenRepository tokenRepository, IBuildingRepository buildingRepository, IBuildingUnitRepository buildingUnitRepository, IIndustryRepository industryRepository, IOwnerRepository ownerRepository) { _uploadRepository = uploadRepository; _tokenRepository = tokenRepository; _buildingRepository = buildingRepository; _buildingUnitRepository = buildingUnitRepository; _industryRepository = industryRepository; _ownerRepository = ownerRepository; }
/// <summary> /// /// </summary> /// <param name="buildingUnitRepository"></param> public BuildingUnitController(IBuildingUnitRepository buildingUnitRepository) { _buildingUnitRepository = buildingUnitRepository; _tokenManager = new TokenManager(); }
/// <summary> /// /// </summary> public BuildingUnitController(IBuildingUnitRepository buildingUnitRepository, ITokenRepository tokenRepository) { _buildingUnitRepository = buildingUnitRepository; _tokenRepository = tokenRepository; }