public AdvisorAppServiceTest() { MockRepository = new DbMockRepository <InsuranceDb>(); var provider = DependencyInjectorStub.Get((s, c) => { BootStrapper.RegisterServices(s, c); s.AddScoped(x => MockRepository.GetContext()); }); Service = provider.GetService <IAdvisorAppService>(); }
public AdvisorController(IAdvisorAppService service) { _service = service; }
public PublicController(IAdvisorAppService advisorAppService) { _advisorAppService = advisorAppService; }