Logger imolemetálása

This commit is contained in:
2025-04-10 10:58:47 +02:00
parent 6137baff72
commit 7109da0d95
6 changed files with 27 additions and 17 deletions
@@ -16,11 +16,13 @@ namespace WorkFlowCheck.BL.Services
{
public readonly AppDbContext _dbContext;
public readonly IMapper _mapper;
private readonly ILogger _logger;
public BaseService(AppDbContext db_dbContext, IMapper mapper)
{
_dbContext = db_dbContext;
_mapper = mapper;
_logger = Log.ForContext("Tag", "PROGSEC");
}
public async Task<bool> DeleteEntityByIdAsync<T>(int id) where T : class