fix(Anwendung): Standard StringLocalizer auf null setzen, um die Abhängigkeit zu entfernen.

- Hochgestuft auf 3.1.2
This commit is contained in:
Developer 02
2025-01-20 14:41:29 +01:00
parent 3cf1215a1c
commit 59e8c6c0c6
4 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ namespace DigitalData.UserManager.Application.Services
public class UserRepService : BaseService<IUserRepRepository, UserRepCreateDto, UserRepReadDto, UserRep>, IUserRepService
{
private readonly IStringLocalizer<Resource>? _localizer;
public UserRepService(IUserRepRepository repository, IStringLocalizer<Resource>? localizer, IMapper mapper) : base(repository, mapper)
public UserRepService(IUserRepRepository repository, IMapper mapper, IStringLocalizer<Resource>? localizer = null) : base(repository, mapper)
{
_localizer = localizer;
}