public OrphanageService(IOrphanageRepository orphanageRepository, IImageService service, IOptions <AppSettings> settings) { _orphanageRepository = orphanageRepository; _service = service; _settings = settings.Value; }
public OrphanagesController(IOrphanageRepository orphanageRepository, IMapper mapper) { _orphanageRepository = orphanageRepository; _mapper = mapper; }