mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
Update doc comments in Features.Breweries source
This commit is contained in:
@@ -3,11 +3,15 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Features.Breweries.DependencyInjection;
|
||||
|
||||
/// <summary>Registers the services required by the Breweries feature.</summary>
|
||||
/// <summary>
|
||||
/// Adds Breweries feature services to the dependency-injection container.
|
||||
/// </summary>
|
||||
public static class FeaturesBreweriesServiceCollectionExtensions
|
||||
{
|
||||
/// <summary>Registers <see cref="IBreweryRepository" /> and its implementation.</summary>
|
||||
/// <returns><paramref name="services" />, for chaining.</returns>
|
||||
/// <summary>
|
||||
/// Registers the repository services used by the Breweries feature.
|
||||
/// </summary>
|
||||
/// <returns>The supplied service collection.</returns>
|
||||
public static IServiceCollection AddFeaturesBreweries(this IServiceCollection services)
|
||||
{
|
||||
services.AddScoped<IBreweryRepository, BreweryRepository>();
|
||||
|
||||
Reference in New Issue
Block a user