public AddCommandHandler(ICultivationActivityRepository cultivationActivityRepository, ICultivationActivityQueries cultivationActivityQueries, IStorageQueries storageQueries) { this.cultivationActivityRepository = cultivationActivityRepository; this.cultivationActivityQueries = cultivationActivityQueries; this.storageQueries = storageQueries; }
public CultivationActivityController(IMediator mediator, ICultivationActivityQueries cultivationActivityQueries) { this.mediator = mediator; this.cultivationActivityQueries = cultivationActivityQueries; }