public GetPoetryVolumesByAuthorIdCommandHandler(
     IMapper autoMapper,
     IAuthorizedRepository <PoetryVolumeAuthorship> authorizedRepository)
 {
     _autoMapper           = autoMapper;
     _authorizedRepository = authorizedRepository;
 }
Пример #2
0
 public GetAlbumsByBandIdCommandHandler(IMapper autoMapper, IAuthorizedRepository <MusicalAlbum> albumRepository)
 {
     _autoMapper      = autoMapper;
     _albumRepository = albumRepository;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CredentialsController"/> class.
 /// </summary>
 /// <param name="repository">
 /// The repository.
 /// </param>
 public CredentialsController(IAuthorizedRepository <Credential> repository)
 {
     this.Repository = repository;
 }