Fixing SonarCloud integration + fixing CodeSmells - 2

This commit is contained in:
2024-05-04 19:29:44 +02:00
parent 79b66cb8b4
commit 39b7f4f3b3
5 changed files with 12 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ namespace BasicDotnetTemplate.MainProject.Controllers
protected readonly IConfiguration _configuration;
protected readonly AppSettings _appSettings;
public BaseController(
protected BaseController(
IConfiguration configuration
)
{
@@ -20,7 +20,7 @@ namespace BasicDotnetTemplate.MainProject.Controllers
}
#nullable enable
private BaseResponse CreateResponse(HttpStatusCode status, string message, object? data = null)
private static BaseResponse CreateResponse(HttpStatusCode status, string message, object? data = null)
{
return new BaseResponse()
{