14 lines
384 B
C#
14 lines
384 B
C#
|
|
using FluentValidation;
|
||
|
|
using System.Reflection;
|
||
|
|
|
||
|
|
namespace Microsoft.Extensions.DependencyInjection;
|
||
|
|
|
||
|
|
public static class ConfigureServices
|
||
|
|
{
|
||
|
|
public static IServiceCollection AddClubMembershipProtobufServices(this IServiceCollection services)
|
||
|
|
{
|
||
|
|
services.AddValidatorsFromAssembly(Assembly.GetExecutingAssembly());
|
||
|
|
return services;
|
||
|
|
}
|
||
|
|
}
|