Beispiel #1
0
 public PetsController(IMapper mapper, IGetPetUseCase useCase, IWebHostEnvironment webHostEnvironment)
     : base(mapper, webHostEnvironment)
 {
     _useCase = useCase;
     _mapper  = mapper;
 }
Beispiel #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="GetPetValidationUseCase" /> class.
 /// </summary>
 public GetPetValidationUseCase(IGetPetUseCase useCase)
 {
     this._useCase    = useCase;
     this._outputPort = new GetPetPresenter();
 }