public AddCommandHandler(IPesticideRepository pesticideRepository, IPesticideQueries pesticideQueries, IPesticideCategoryQueries pesticideCategoryQueries, IStorageQueries storageQueries) { this.pesticideRepository = pesticideRepository; this.pesticideQueries = pesticideQueries; this.pesticideCategoryQueries = pesticideCategoryQueries; this.storageQueries = storageQueries; }
public PesticideController(IMediator mediator, IPesticideQueries pesticideQueries, IPesticideCategoryQueries pesticideCategoryQueries) { this.mediator = mediator; this.pesticideQueries = pesticideQueries; this.pesticideCategoryQueries = pesticideCategoryQueries; }
public DeleteCommandHandler(IPesticideRepository pesticideRepository, IPesticideQueries pesticideQueries) { this.pesticideRepository = pesticideRepository; this.pesticideQueries = pesticideQueries; }