public GetPoetryVolumesByAuthorIdCommandHandler(
     IMapper autoMapper,
     IAuthorizedRepository <PoetryVolumeAuthorship> authorizedRepository)
 {
     _autoMapper           = autoMapper;
     _authorizedRepository = authorizedRepository;
 }
Exemplo n.º 2
0
 public GetAlbumsByBandIdCommandHandler(IMapper autoMapper, IAuthorizedRepository <MusicalAlbum> albumRepository)
 {
     _autoMapper      = autoMapper;
     _albumRepository = albumRepository;
 }
Exemplo n.º 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;
 }