try fix binder resolution

This commit is contained in:
honzapatCZ 2024-10-04 22:17:08 +02:00
parent 0346a448c4
commit 229525ab81

View File

@ -59,7 +59,7 @@ namespace NejCommon.Models
//id should be Guid, int, string, etc.
public abstract class EntityBinder<TEntity, TIdType> : EntityBinder, IModelBinder
public abstract class EntityBinder<TEntity, TIdType> : EntityBinder, IModelBinder, IScopedService
where TEntity : class
where TIdType : IEquatable<TIdType>
{