mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
Removes the USP_* stored procedures for Auth, Location, and Brewery data access in favour of services built with Dapper. Adds a new Features.Locations slice and optimistic concurrency support for the Brewery slice.
14 lines
404 B
C#
14 lines
404 B
C#
using Features.Breweries.Repository;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Features.Breweries.DependencyInjection;
|
|
|
|
public static class FeaturesBreweriesServiceCollectionExtensions
|
|
{
|
|
public static IServiceCollection AddFeaturesBreweries(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<IBreweryRepository, BreweryRepository>();
|
|
return services;
|
|
}
|
|
}
|