Esempio n. 1
0
 public AddCommandHandler(IFertilizerRepository fertilizerRepository,
                          IFertilizerQueries fertilizerQueries,
                          IFertilizerCategoryQueries fertilizerCategoryQueries,
                          IStorageQueries storageQueries)
 {
     this.fertilizerRepository      = fertilizerRepository;
     this.fertilizerQueries         = fertilizerQueries;
     this.fertilizerCategoryQueries = fertilizerCategoryQueries;
     this.storageQueries            = storageQueries;
 }
Esempio n. 2
0
 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;
 }