1
0
mirror of synced 2024-11-14 14:33:49 +00:00
Tapeti/Tapeti.DataAnnotations/ConfigExtensions.cs

12 lines
278 B
C#
Raw Normal View History

2017-02-12 20:43:30 +00:00
namespace Tapeti.DataAnnotations
{
public static class ConfigExtensions
{
public static TapetiConfig WithDataAnnotations(this TapetiConfig config)
{
config.Use(new DataAnnotationsMiddleware());
return config;
}
}
}