public BiographyController(IBiographyRepository biographyRepository) { _biographyRepository = biographyRepository ?? throw new ArgumentNullException(nameof(biographyRepository)); }
public BiographyService(IBiographyRepository repository, IMapper mapper) { _repository = repository; _mapper = mapper; }