builder.Services.AddScoped<IProductService, ProductService>();
            builder.Services.AddScoped<ICategoryService, CategoryService>();This code is configuring dependency injection in a .NET application, specifically using the AddScoped method. 
Exaplanation:
AddScoped Method:
AddScopedis a method provided by theIServiceCollectioninterface in ASP.NET Core for registering services in the dependency injection (DI) container.- Scoped services are created once per request within the scope of the request. That means, for each HTTP request, a new instance of the service will be created and shared within that request.
 
IProductService and ProductService:
IProductServiceis an interface that defines the contract for a service that deals with product-related functionality.ProductServiceis the concrete implementation ofIProductService. It provides the actual implementation for the methods declared in theIProductServiceinterface.
ICategoryService and CategoryService:
- Similar to 
IProductServiceandProductService,ICategoryServiceis an interface defining the contract for a service dealing with category-related functionality. CategoryServiceis the concrete implementation ofICategoryService.
Registration in the DI Container:
- These lines of code register the services in the DI container, associating the interfaces with their corresponding concrete implementations.
 - When a component in the application requests an instance of 
IProductServiceorICategoryService, the DI container will provide an instance ofProductServiceorCategoryService, respectively. 
Breakdown of the relationships:
IProductServicedefines the contract for product-related services.ProductServiceprovides the actual implementation for the product-related services.ICategoryServicedefines the contract for category-related services.CategoryServiceprovides the actual implementation for the category-related services.
Services with AddScoped ensure that a new instance of each service is created for each incoming HTTP request, promoting a scoped lifecycle for these services within the context of a request.
