Skip to content

Commit e0ef262

Browse files
committed
Update ConfigureServiceContainer.cs
1 parent dfbb5a7 commit e0ef262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OnionArchitecture/OA.Infrastructure/Extension/ConfigureServiceContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static void AddMailSetting(this IServiceCollection serviceCollection,
8585
serviceCollection.Configure<MailSettings>(configuration.GetSection("MailSettings"));
8686
}
8787

88-
public static void AddNewtonJson(this IServiceCollection serviceCollection)
88+
public static void AddController(this IServiceCollection serviceCollection)
8989
{
9090
serviceCollection.AddControllers().AddNewtonsoftJson();
9191
}

0 commit comments

Comments
 (0)