public AddCommandHandler(IFertilizerRepository fertilizerRepository, IFertilizerQueries fertilizerQueries, IFertilizerCategoryQueries fertilizerCategoryQueries, IStorageQueries storageQueries) { this.fertilizerRepository = fertilizerRepository; this.fertilizerQueries = fertilizerQueries; this.fertilizerCategoryQueries = fertilizerCategoryQueries; this.storageQueries = storageQueries; }
public DeleteCommandHandler(IFertilizerRepository fertilizerRepository, IFertilizerQueries fertilizerQueries) { this.fertilizerRepository = fertilizerRepository; this.fertilizerQueries = fertilizerQueries; }
public FertilizerController(IMediator mediator, IFertilizerQueries fertilizerQueries, IFertilizerCategoryQueries fertilizerCategoryQueries) { this.mediator = mediator; this.fertilizerQueries = fertilizerQueries; this.fertilizerCategoryQueries = fertilizerCategoryQueries; }