85 lines
5.8 KiB
C#
85 lines
5.8 KiB
C#
using LCU.API.Collections.RepoApi.HostedServices;
|
|
using LCU.API.Collections.RepoApi.Services;
|
|
using LCU.API.Collections.RepoApi.Services.AutoIms;
|
|
using LCU.API.Collections.RepoApi.Services.Producer;
|
|
using LCU.API.Collections.RepoApi.Services.Reporting;
|
|
using LCU.Shared.Collections.RepoApiLib.Repositories;
|
|
using LCU.Shared.Collections.RepoApiLib.Repositories.Settings;
|
|
using LCU.Shared.Collections.RepoApiLib.WebServices.NADA;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace LCU.API.Collections.RepoApi.Extensions
|
|
{
|
|
public static class RepoApiStartup
|
|
{
|
|
public static void UseRepoServices(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<IAccountAlertCheckService, AccountAlertCheckService>();
|
|
services.AddScoped<IAuctionAssignmentService, AuctionAssignmentService>();
|
|
services.AddScoped<IAuctionFtpClientService, AuctionFtpClientService>();
|
|
services.AddScoped<IAuctionHouseService, AuctionHouseService>();
|
|
services.AddScoped<IAuctionReportingService, AuctionReportingService>();
|
|
services.AddScoped<IAuditRecordService, AuditRecordService>();
|
|
services.AddScoped<IAutoImsAuctionProcessorService, AutoImsAuctionProcessorService>();
|
|
services.AddScoped<IAutoImsDownloaderService, AutoImsDownloaderService>();
|
|
services.AddScoped<IAutoImsImporterService, AutoImsImporterService>();
|
|
services.AddScoped<IAutoImsNoteProcessorService, AutoImsNoteProcessorService>();
|
|
services.AddScoped<ICollateralService, CollateralService>();
|
|
services.AddScoped<ICollateralValueService, CollateralValueService>();
|
|
services.AddScoped<IRepoAccountProcessorService, RepoAccountProcessorService>();
|
|
services.AddScoped<IEventAlertService, EventAlertService>();
|
|
services.AddScoped<IFactoidService, FactoidService>();
|
|
services.AddScoped<IFloorPricingService, FloorPricingService>();
|
|
services.AddScoped<IImsAutoFileDataConverter, ImsAutoFileDataConverter>();
|
|
services.AddScoped<IImsAutoFileDataService, ImsAutoFileDataService>();
|
|
services.AddScoped<IImsAutoFileNoteConverter, ImsAutoFileNoteConverter>();
|
|
services.AddScoped<ILandmarkReportingService, LandmarkReportingService>();
|
|
services.AddScoped<IRefundStatusService, RefundStatusService>();
|
|
services.AddScoped<IRepoAccountService, RepoAccountService>();
|
|
services.AddScoped<IRepoCompanyService, RepoCompanyService>();
|
|
services.AddScoped<IRepoCompanySelectionService, RepoCompanySelectionService>();
|
|
services.AddScoped<IRepoCompanyReportingService, RepoCompanyReportingService>();
|
|
services.AddScoped<IRepoLetterService, RepoLetterService>();
|
|
services.AddScoped<IRepoQueueProducerService, RepoQueueProducerService>();
|
|
services.AddScoped<IRepoStatusChangeService, RepoStatusChangeService>();
|
|
services.AddScoped<ISavedLocationService, SavedLocationService>();
|
|
services.AddScoped<ISettingsService, SettingsService>();
|
|
services.AddScoped<IVehicleFloorPricingParametersService, VehicleFloorPricingParametersService>();
|
|
services.AddScoped<IProcessingReceiptService, ProcessingReceiptService>();
|
|
}
|
|
|
|
public static void UseRepoRepositories(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<IAuditRecordRepository, AuditRecordRepository>();
|
|
services.AddScoped<IAccountTypeRepository, AccountTypeRepository>();
|
|
services.AddScoped<IAllowedStatusChangeRepository, AllowedStatusChangeRepository>();
|
|
services.AddScoped<IAuctionAssignmentRepository, AuctionAssignmentRepository>();
|
|
services.AddScoped<IAuctionAssignmentNoteRepository, AuctionAssignmentNoteRepository>();
|
|
services.AddScoped<IBodyStyleRepository, BodyStyleRepository>();
|
|
services.AddScoped<ICleaningLevelRepository, CleaningLevelRepository>();
|
|
services.AddScoped<ICollateralRepository, CollateralRepository>();
|
|
services.AddScoped<ICollateralTypeRepository, CollateralTypeRepository>();
|
|
services.AddScoped<ICollateralTypeToVehicleTypeRepository, CollateralTypeToVehicleTypeRepository>();
|
|
services.AddScoped<IEventAlertRepository, EventAlertRepository>();
|
|
services.AddScoped<IHoldStatusRepository, HoldStatusRepository>();
|
|
services.AddScoped<IImsAutoFileDataRepository, ImsAutoFileDataRepository>();
|
|
services.AddScoped<ILetterRepository, LetterRepository>();
|
|
services.AddScoped<ILoanCategoryRepository, LoanCategoryRepository>();
|
|
services.AddScoped<ILocationTypeRepository, LocationTypeRepository>();
|
|
services.AddScoped<IRepoStatusChangeRepository, RepoStatusChangeRepository>();
|
|
services.AddScoped<IRepoAccountRepository, RepoAccountRepository>();
|
|
services.AddScoped<IRepoCompanyRepository, RepoCompanyRepository>();
|
|
services.AddScoped<IVehicleTypeRepository, VehicleTypeRepository>();
|
|
services.AddScoped<IVehicleFloorPricingParametersRepository, VehicleFloorPricingParametersRepository>();
|
|
services.AddScoped<IAuctionHouseRepository, AuctionHouseRepository>();
|
|
services.AddScoped<IReportingRepository, ReportingRepository>();
|
|
services.AddScoped<IRefundStatusRepository, RefundStatusRepository>();
|
|
services.AddScoped<IRepoCompanySelectionRepository, RepoCompanySelectionRepository>();
|
|
services.AddScoped<IRepoManualStatusRepository, RepoManualStatusRepository>();
|
|
services.AddScoped<ISavedLocationRepository, SavedLocationRepository>();
|
|
services.AddScoped<IProcessingReceiptRepository, ProcessingReceiptRepository>();
|
|
services.AddScoped<IExternalUserRepository, ExternalUserRepository>();
|
|
}
|
|
|
|
}
|
|
} |