public AllocationProvider(IAllocationSettings allocationSettings, IApiAuthenticationSettings apiAuthenticationSettings)
        {
            Check.If(allocationSettings).IsNotNull();
            Check.If(apiAuthenticationSettings).IsNotNull();

            _allocationSettings = allocationSettings;
            _apiAuthenticationSettings = apiAuthenticationSettings;
        }
        public AllocationService(IAllocationProvider allocationProvider, IAllocationSettings allocationSettings)
        {
            Check.If(allocationProvider).IsNotNull();
            Check.If(allocationSettings).IsNotNull();

            _allocationProvider = allocationProvider;
            _allocationSettings = allocationSettings;
        }