public NameSorterService(IGenderizeClient client, IMemoryCache memoryCache, ILogger <NameSorterService> logger, IPersonRepository personRepository) { _cache = memoryCache; this.logger = logger; this.personRepository = personRepository; this.client = client; }
public FamilyNameController( IGenderizeClient genderizeClient, IOptionsSnapshot <GenderizeApiOptions> genderizeOptions, ILoggerFactory logger) { this.genderizeClient = genderizeClient; this.genderizeOptions = genderizeOptions; this.logger = logger.CreateLogger <FamilyNameController>(); }
public HomeController(INameSorterService nameSorterService, IGenderizeClient client, IPersonRepository repository) { this.nameSorterService = nameSorterService; this.client = client; this._repository = repository; }
public GenderController(IGenderizeClient genderizeClient) { _genderizeClient = genderizeClient; }