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