Dependency Injection

Mar 6 2023 1:50 PM

Good day, Kindly help out with this issue: 

Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: EventScheduler.IRepository.IUnitOfWork Lifetime: Transient ImplementationType: EventScheduler.Repository.UnitOfWork': Unable to resolve service for type 'EventScheduler.Data.DatabaseContext' while attempting to activate 'EventScheduler.Repository.UnitOfWork'.)'
: Unable to resolve service for type 'EventScheduler.Data.DatabaseContext' while attempting to activate 'EventScheduler.Repository.UnitOfWork'.

 

 

 

Please help out...


Answers (3)