示例#1
0
 public BiographyController(IBiographyRepository biographyRepository)
 {
     _biographyRepository = biographyRepository ??
                            throw new ArgumentNullException(nameof(biographyRepository));
 }
示例#2
0
 public BiographyService(IBiographyRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }