public ICommandResult Handler(DeleteSpecialtyCommand command) { _specialtyRepository.Delete(command.SpecialtyId); return(new DeleteSpecialtyCommandResult(command.SpecialtyId, true)); }
public ICommandResult Handler(DeleteSpecialtyCommand command) { _specialtyRepository.Delete(command.SpecialtyId); return(new DeleteSpecialtyCommandResult(command.SpecialtyId, true)); }