changes mongo camera report

This commit is contained in:
2025-12-12 19:42:08 +03:30
parent ea896c4c11
commit eb49bf771d
11 changed files with 459 additions and 114 deletions

View File

@@ -235,6 +235,8 @@ using _0_Framework.Infrastructure;
using _0_Framework.InfraStructure;
using Company.Domain.CameraBugReportAgg;
using CompanyManagment.App.Contracts.CameraBugReport;
using CompanyManagement.Infrastructure.Mongo.CameraBugReportRepo;
using CameraBugReportRepository = CompanyManagement.Infrastructure.Mongo.CameraBugReportRepo.CameraBugReportRepository;
namespace PersonalContractingParty.Config;
@@ -635,7 +637,7 @@ public class PersonalBootstrapper
services.AddTransient<ICameraBugReportApplication, CameraBugReportApplication>();
services.AddTransient<ICameraBugReportRepository, CameraBugReportRepository>();
services.AddTransient<ICameraBugReportRepository, CameraBugReportRepository>(); // MongoDB Implementation
services.AddDbContext<CompanyContext>(x => x.UseSqlServer(connectionString));
}