diff --git a/src/Vegasco.Server.Api/Cars/CreateCar.cs b/src/Vegasco.Server.Api/Cars/CreateCar.cs index 8f7ef96..aac0d7b 100644 --- a/src/Vegasco.Server.Api/Cars/CreateCar.cs +++ b/src/Vegasco.Server.Api/Cars/CreateCar.cs @@ -34,7 +34,7 @@ public static class CreateCar } } - public static async Task Endpoint( + private static async Task Endpoint( Request request, IEnumerable> validators, ApplicationDbContext dbContext, diff --git a/src/Vegasco.Server.Api/Cars/DeleteCar.cs b/src/Vegasco.Server.Api/Cars/DeleteCar.cs index 853c665..3dd1f26 100644 --- a/src/Vegasco.Server.Api/Cars/DeleteCar.cs +++ b/src/Vegasco.Server.Api/Cars/DeleteCar.cs @@ -15,7 +15,7 @@ public static class DeleteCar .Produces(404); } - public static async Task Endpoint( + private static async Task Endpoint( Guid id, ApplicationDbContext dbContext, ILoggerFactory loggerFactory, diff --git a/src/Vegasco.Server.Api/Cars/UpdateCar.cs b/src/Vegasco.Server.Api/Cars/UpdateCar.cs index ff97f20..e857eb9 100644 --- a/src/Vegasco.Server.Api/Cars/UpdateCar.cs +++ b/src/Vegasco.Server.Api/Cars/UpdateCar.cs @@ -34,7 +34,7 @@ public static class UpdateCar } } - public static async Task Endpoint( + private static async Task Endpoint( Guid id, Request request, IEnumerable> validators,