public async Task HandleAsync(CreateSpeciesCommand command) { var species = new Species(command.Name, command.AnimalClass, command.ConsumeType); await _repository.AddSpecies(species); }
public async Task HandleAsync(CreateSpeciesCommand command) { var species = new Species(command.Name, command.AnimalClass, command.ConsumeType); await _repository.AddSpecies(species); }