add supplier attributes

This commit is contained in:
2023-06-12 13:13:40 +02:00
parent 9cb007399a
commit 73bfcccc9c
15 changed files with 218 additions and 46 deletions

View File

@@ -21,6 +21,9 @@ builder.Services.AddSwaggerGen(c => c.SwaggerDoc("v1", new OpenApiInfo { Title =
builder.Services.AddScoped<ICustomerService, CustomerService>();
builder.Services.AddScoped<ICustomerRepository, CustomerRepository>();
builder.Services.AddScoped<ISupplierService, SupplierService>();
builder.Services.AddScoped<ISupplierRepository, SupplierRepository>();
builder.Services.AddScoped<IUnitOfWork, UnitOfWork>();
builder.Services.AddDbContextPool<RepoDbContext>(builder =>