public PetsController(IMapper mapper, IDeletePetUseCase useCase, IWebHostEnvironment webHostEnvironment) : base(mapper, webHostEnvironment) { _useCase = useCase; _mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="DeletePetValidationUseCase" /> class. /// </summary> public DeletePetValidationUseCase(IDeletePetUseCase useCase, Validation validation) { this._useCase = useCase; this._validation = validation; this._outputPort = new DeletePetPresenter(); }