mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-06 02:19:05 +00:00
Implement CRUD operations for Brewery, including service and repository layers
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Service.Breweries.DependencyInjection;
|
||||
|
||||
public static class BreweryServiceCollectionExtensions
|
||||
{
|
||||
public static IServiceCollection AddBreweryServices(this IServiceCollection services)
|
||||
{
|
||||
services.AddScoped<IBreweryService, BreweryService>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user