7 references to ContactsRepository
BasicWebSite (7)
Controllers\ContactApiController.cs (4)
14private readonly ContactsRepository _repository; 16public ContactApiController(ContactsRepository repository) 87public ActionResult<Contact> ActionWithInferredFromServicesParameter(int id, ContactsRepository repository) 91public ActionResult<ContactRequest> ActionWithCompositeComplexTypeParameter(ContactRequest request, ContactsRepository repository)
StartupWithCustomInvalidModelStateFactory.cs (1)
36services.AddSingleton<ContactsRepository>();
StartupWithoutEndpointRouting.cs (1)
45services.AddSingleton<ContactsRepository>();
StartupWithSystemTextJson.cs (1)
13services.AddSingleton<ContactsRepository>();