dependency injection c#
делаю регистрацию в startup.cs
a.Register(c => new SimulateGroupController(c.ResolveNamed<ISimulatedResultGroupServiceDal("Simulate")
, c.Resolve<IResultingService>()))
.PropertiesAutowired();
и когда запускаю проект выдает такую ошибку
Autofac.Core.Registration.ComponentNotRegisteredException: 'The requested service 'Simulate (BL.DAL.Events.ISimulatedResultGroupServiceDal)' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.'
но ISimulatedResultGroupServiceDal уже зарегистрирован
builder.RegisterType<SimulatedResultGroupDal>().As<ISimulatedResultGroupServiceDal();
что делать ? как решить эту проблуму?